You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
13 years ago | |
---|---|---|
.. | ||
vb6 | 13 years ago | |
README | 13 years ago | |
analog.c | 13 years ago | |
api.c | 13 years ago | |
atis.c | 13 years ago | |
atsetup.c | 13 years ago | |
callback.c | 13 years ago | |
digital.c | 13 years ago | |
digitalout.c | 13 years ago | |
multi.c | 13 years ago | |
scan.c | 13 years ago | |
scan_adv.c | 13 years ago | |
simple.c | 13 years ago | |
talk_to_me.c | 13 years ago | |
xbee2_rx.c | 13 years ago | |
xbee2_tx.c | 13 years ago |
README
To use these samples, you must first install libxbee.
To install, simply type `make install` and provide the root password.
If you cannot install the library for any reason, follow these instructions:
http://code.google.com/p/libxbee/wiki/install_libxbee#But_I_can't_install_it!
The compile line can be found at the top of the source files, surrounded by #ifdef
and #endif. These allow us to run the source file as a shell script. Simply type
`sh simple.c` to compile the simple sample.
If you do not have the library installed, you must edit the compile line, or type
it by hand.
gcc <sample_file>.c ../obj/api.o -o <sample_file> -lpthread -lrt