Loïc Ringot
/
SX126X_PingPong_Demo
Ping Pong Demo with Lora Antenna and Nucleo board
Diff: main_pingpong.cpp
- Revision:
- 2:4e2bd6f15af1
- Parent:
- 1:ecd6c7ea3545
--- a/main_pingpong.cpp Tue Oct 16 15:12:01 2018 +0000 +++ b/main_pingpong.cpp Fri Sep 25 07:35:50 2020 +0000 @@ -200,7 +200,7 @@ void ConfigureRadioTx(SX126xHal *radio, RadioConfigurations_t *config); void ConfigureRadioRx(SX126xHal *radio, RadioConfigurations_t *config); void PrepareBuffer(SX126xHal *radio, const Messages_t *messageToSend); -bool isMaster = true; +bool isMaster = false; bool masterCanSend = true; void MasterSendNextEvent(void){masterCanSend = true;} bool slaveCanListen = false;