Debug Serial para programa resetar o buffer quando houver tamanhos errados na mensagem
Dependencies: pulga-lorawan-drv PingPong-P2P-ClickButtonToWork-SX1272
Diff: lora.cpp
- Revision:
- 14:88373765b9a9
- Parent:
- 11:9ee88f11ed06
--- a/lora.cpp Thu Apr 15 19:21:55 2021 +0000 +++ b/lora.cpp Mon Apr 19 13:32:23 2021 +0000 @@ -88,7 +88,7 @@ sx1272.writeRegister(REG_FIFO_ADDR_PTR,0x00); for(unsigned int i = 0; i <= length8; i++) { - pc.printf("Samira - send_packet ( ) - FOR..\n"); + // pc.printf("Samira - send_packet ( ) - FOR..\n"); sx1272.writeRegister(REG_FIFO, payload[i]); // Writing the payload in FIFO }