Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SensoryTest
Fork of btbee by
btbee.h
- Committer:
- mmpeter
- Date:
- 2014-05-21
- Revision:
- 18:eddba761c425
- Parent:
- 5:2e759cc06191
File content as of revision 18:eddba761c425:
#include "mbed.h"
#include "platform.h"
#define FACTORY_BAUD 9600
#define DEFAULT_BAUD 115200
#define AT_BAUD 38400
// this is a test comment
class btbee: public Serial{
public:
btbee(PinName respin, PinName tx, PinName rx);
btbee(void);
void reset(void);
void at_baud(void);
void factory_baud(void);
void default_baud(void);
int read_all(char*,const int, int*);
int read_line(char*,const int, int*);
protected:
DigitalOut reset_out;
};
