This project uses the library sandeepmistry/LoRa as driver for LoRa module.
- If
NODEID
never set in EEPROM before, activate lineEEPROM.write(EEPROM_ADDRESS_NODEID, NODEID);
, and defineNODEID
inglobal.h
void sendMsg(const String)
: send any kind of string messagevoid recvMsg()
: receive and print message receivedsendMsg
andrecvMsg
is callled within the mainloop()
- Install VSCode
- Install PlatformIO (PIO) Extension in VSCode
- Go to
Extensions
on the left side bar, search for PlatformIO
- Go to
- Build, Compile in PlatformIO