![K-Team Koala 2.5 Скачать руководство пользователя страница 35](http://html1.mh-extra.com/html/k-team/koala-2-5/koala-2-5_user-manual_3106035035.webp)
Koala 2.5 User Manual Rev 1.1
32
5.3
Programming
In the directory
/home/user/koala_library
of the koala, there is
the library to gain access to the Koala hardware.
The library is a dynamic library and is already installed in
/usr/local/lib
It is accessing the Koala micro-controller through the serial port
/dev/ttyS1
with the commands defined in the chapter « Serial
Communication Protocol ».
Here is the description of the sub-directories of the library:
•
build-x86: contains the compiled library and its include files
•
doc:
contains the API documentation auto generated.
Open in your favorite browser the file
doc/html/index.html
•
examples: contains examples using the library
•
src:
contains the source code of the library itself
•
template: contains a template (very basic example code) for
using the library.
You can start with the
examples/koala_example.c
source code for
your program. To recompile it:
cd /home/user/koala_library
make examples
If you modify any source code in
src
directory or after installing a
new version, you will have to recompile and install the library with
the commands:
cd /home/user/koala_library
make clean
make all
sudo make install
You can also use the already installed Eclipse GUI. See chapter
below.
Содержание Koala 2.5
Страница 1: ...KOALA 2 5 User manual Revision 1 2...
Страница 9: ...Koala 2 5 User Manual Rev 1 1 6 Figure 3 3 Bottom view 13 Gear Box 14 Docking station connection...
Страница 49: ...Koala 2 5 User Manual Rev 1 1 46 7 Mechanical drawings Unit is mm Figure 6 1 Top view...
Страница 50: ...Koala 2 5 User Manual Rev 1 1 47 Figure 6 2 Right view Figure 6 3 Front view...
Страница 53: ...K Team S A Z I Les Plans Praz 28 1337 Vallorbe Switzerland...