Xbee Bluetooth, una librería modificada para la configuracion y protocolo de comunicación
Embed:
(wiki syntax)
Show/hide line numbers
BluetoothBee.h
00001 // BluetoothBee.h 00002 00003 // This very simple API is only meant for facilitating wireless debugging via the Bluetooth Bee module through the UART 00004 // Note: the API inherits the Serial class's functions: printf(), getc(), sscan(), etc. 00005 // however the Serial class's "setup" functions, such as baud() and format() will not behave as you expect; thus don't use them 00006 // Bluetooth Bee wiki: http://www.seeedstudio.com/wiki/index.php?title=Bluetooth_Bee 00007 00008 #ifndef BLUETOOTHBEE_H 00009 #define BLUETOOTHBEE_H 00010 00011 #include "mbed.h" 00012 00013 00014 00015 class BluetoothBee: public Serial { 00016 public: 00017 BluetoothBee(PinName tx, PinName rx); 00018 void setup(); 00019 }; 00020 00021 #endif
Generated on Mon Jul 25 2022 12:31:47 by 1.7.2