[JDY08] Changed pin mapping
This commit is contained in:
parent
7cc765debb
commit
47776c5acb
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
#include "JDY08.h"
|
#include "JDY08.h"
|
||||||
|
|
||||||
JDY08::JDY08(Module* mod) : ISerial(mod) {
|
JDY08::JDY08(Module* mod) : ISerial(mod) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void JDY08::begin(long speed) {
|
void JDY08::begin(long speed) {
|
||||||
// set module properties
|
// set module properties
|
||||||
_mod->AtLineFeed = "";
|
_mod->AtLineFeed = "";
|
||||||
_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