wireless debugging via Bluetooth Bee module wiki: http://mbed.org/cookbook/Wireless-Debugging-with-Bluetooth-Bee
Diff: BluetoothBee.h
- Revision:
- 0:4e1c16dddbad
- Child:
- 2:0c8cd82a5a45
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BluetoothBee.h Fri Mar 30 18:55:57 2012 +0000 @@ -0,0 +1,20 @@ +// BluetoothBee.h + +// This very simple API is only meant for facilitating wireless debugging via the Bluetooth Bee module through the UART +// Note: the API inherits the Serial class's functions: printf(), getc(), sscan(), etc. +// however the Serial class's "setup" functions, such as baud() and format() will not behave as you expect; thus don't use them +// Bluetooth Bee wiki: http://www.seeedstudio.com/wiki/index.php?title=Bluetooth_Bee + +#ifndef BLUETOOTHBEE_H +#define BLUETOOTHBEE_H + +#include "mbed.h" + +class BluetoothBee: public Serial { +public: + BluetoothBee(PinName tx, PinName rx); + + void setup(); +}; + +#endif \ No newline at end of file