[HC05] Changed pin mapping
This commit is contained in:
parent
b8459a58ad
commit
7cc765debb
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
#include "HC05.h"
|
#include "HC05.h"
|
||||||
|
|
||||||
HC05::HC05(Module* mod) : ISerial(mod) {
|
HC05::HC05(Module* mod) : ISerial(mod) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HC05::begin(long speed) {
|
void HC05::begin(long speed) {
|
||||||
// set module properties
|
// set module properties
|
||||||
_mod->baudrate = speed;
|
_mod->baudrate = speed;
|
||||||
_mod->init(RADIOLIB_USE_UART, RADIOLIB_INT_NONE);
|
_mod->init(RADIOLIB_USE_UART);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue