地面站终端 App
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.
Franz 258ce38ac7 added libxbee library 14 years ago
..
vb6 added libxbee library 14 years ago
README added libxbee library 14 years ago
analog.c added libxbee library 14 years ago
api.c added libxbee library 14 years ago
atis.c added libxbee library 14 years ago
atsetup.c added libxbee library 14 years ago
callback.c added libxbee library 14 years ago
digital.c added libxbee library 14 years ago
digitalout.c added libxbee library 14 years ago
multi.c added libxbee library 14 years ago
scan.c added libxbee library 14 years ago
scan_adv.c added libxbee library 14 years ago
simple.c added libxbee library 14 years ago
talk_to_me.c added libxbee library 14 years ago
xbee2_rx.c added libxbee library 14 years ago
xbee2_tx.c added libxbee library 14 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