Closed garudaonekh closed 1 year ago
do you know why?
I guess it needs some gap between SPI command. That's why when you set debugPrint to true, it needs to spend sometimes to serial.print so it works fine. I look at RadioLib code, there're mostly delay(1) between command.
Atmega328 works without Delay. It seems to be an issue only for Atmega16.
Have you confirmed with the receiver side? On my Atmega16(debugPrint=false), it's sent successfully but receiver doesn't receive the data.
Atmega328 can send and receive correctly without delay. If you have an ATMEGA328, try it.
And so far, no such report has been received from anyone.
WriteCommand function is the function that is also used for sending.
I use Atmega16 at one side and ESP8266 on the other end. Ok, I will update further if I have more info on this issue.
Hi,
With Atmega16, If debugPrint is false, I need to add a delay(10), otherwise sending will be successful but the other side will not receive it.