Xbee Bluetooth, una librería modificada para la configuracion y protocolo de comunicación

Committer:
Lucas_eb
Date:
Mon Apr 30 22:11:03 2012 +0000
Revision:
0:6af096b11230
Xbee Bluetooht

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Lucas_eb 0:6af096b11230 1 // BluetoothBee.h
Lucas_eb 0:6af096b11230 2
Lucas_eb 0:6af096b11230 3 // This very simple API is only meant for facilitating wireless debugging via the Bluetooth Bee module through the UART
Lucas_eb 0:6af096b11230 4 // Note: the API inherits the Serial class's functions: printf(), getc(), sscan(), etc.
Lucas_eb 0:6af096b11230 5 // however the Serial class's "setup" functions, such as baud() and format() will not behave as you expect; thus don't use them
Lucas_eb 0:6af096b11230 6 // Bluetooth Bee wiki: http://www.seeedstudio.com/wiki/index.php?title=Bluetooth_Bee
Lucas_eb 0:6af096b11230 7
Lucas_eb 0:6af096b11230 8 #ifndef BLUETOOTHBEE_H
Lucas_eb 0:6af096b11230 9 #define BLUETOOTHBEE_H
Lucas_eb 0:6af096b11230 10
Lucas_eb 0:6af096b11230 11 #include "mbed.h"
Lucas_eb 0:6af096b11230 12
Lucas_eb 0:6af096b11230 13
Lucas_eb 0:6af096b11230 14
Lucas_eb 0:6af096b11230 15 class BluetoothBee: public Serial {
Lucas_eb 0:6af096b11230 16 public:
Lucas_eb 0:6af096b11230 17 BluetoothBee(PinName tx, PinName rx);
Lucas_eb 0:6af096b11230 18 void setup();
Lucas_eb 0:6af096b11230 19 };
Lucas_eb 0:6af096b11230 20
Lucas_eb 0:6af096b11230 21 #endif