mirror of
https://github.com/miky-kr5/NXT-Dev-Kits.git
synced 2023-01-29 18:47:06 +00:00
39 lines
1.9 KiB
HTML
Executable File
39 lines
1.9 KiB
HTML
Executable File
<html><body>
|
|
|
|
<!-- Generated by Doxygen 1.2.11.1 -->
|
|
<center>
|
|
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
|
|
<hr><h1>LEGO MINDSTORMS NXT Driver</h1>
|
|
<p>
|
|
<h3 align="center">1.0.2f0</h3>
|
|
<p>
|
|
The <a class="el" href="main_8cpp.html">main.cpp</a> file contains a simple example.
|
|
<p>
|
|
The below commands are the most basic way to build this example. Using an Integrated Development Environment such as Visual Studio or Xcode may be easier.
|
|
<p>
|
|
To build this example on Windows:
|
|
<p>
|
|
cl.exe /I <<em>path to SDK include directory</em>> <<em>path to fantom.lib in SDK</em>> <a class="el" href="main_8cpp.html">main.cpp</a>
|
|
<p>
|
|
To build this example on Mac OS X 10.4:
|
|
<p>
|
|
gcc-3.3 -I <<em>path to SDK include directory</em>> -framework Fantom -dylib_file Library/Frameworks/VISA.framework/Versions/A/VISA:/Library/Frameworks/VISA.framework/Versions /A/VISA -lstdc++ <a class="el" href="main_8cpp.html">main.cpp</a>
|
|
<p>
|
|
Note that you will need to have the VISA and NiSpyLog frameworks installed in order to link the example. A development version of NI-VISA, which includes the VISA and NiSpyLog frameworks may be downloaded from <a href="http://www.ni.com/support/">National Instruments</a>.
|
|
<p>
|
|
The following design class diagrams may help understand the Fantom API.
|
|
<p>
|
|
<div align="center">
|
|
<img src="MajorClasses.jpg" alt="MajorClasses.jpg">
|
|
</div>
|
|
<div align="center">
|
|
<img src="ProtocolCommands.jpg" alt="ProtocolCommands.jpg">
|
|
</div>
|
|
|
|
<p>
|
|
<p>
|
|
© Copyright 2005-2006, National Instruments Corporation. All rights reserved.
|
|
</p>
|
|
</body></html>
|
|
|