HC05 - Updated comments
This commit is contained in:
parent
8770d82534
commit
2e85c23cbd
2 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,8 @@ HC05 bluetooth = Kite.ModuleA;
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
||||||
// initialize HC05 with baudrate 9600 baud
|
// initialize HC05
|
||||||
|
// baudrate: 9600 baud
|
||||||
bluetooth.begin(9600);
|
bluetooth.begin(9600);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,10 @@
|
||||||
|
|
||||||
class HC05: public ISerial {
|
class HC05: public ISerial {
|
||||||
public:
|
public:
|
||||||
|
// constructor
|
||||||
HC05(Module* module);
|
HC05(Module* module);
|
||||||
|
|
||||||
|
// basic methods
|
||||||
void begin(long speed);
|
void begin(long speed);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue