After Deepsleep, uart.read() get wrong Data. #10772
-
I have a BLE module connected with RX to Pico TX, TX to RX Pico. I still have an Arduino Nano connected with TX to TX. Both devices fetch the information from the BLE module.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
EDIT: I just noticed that I set the baud rate to 9600 for the instance and 115200 when initializing. After Deepsleep it may go back to 9600 again. I set it to 115200 and now I can receive data without reinitializing the uart. (Old Solution)
|
Beta Was this translation helpful? Give feedback.
EDIT: I just noticed that I set the baud rate to 9600 for the instance and 115200 when initializing. After Deepsleep it may go back to 9600 again. I set it to 115200 and now I can receive data without reinitializing the uart.
(Old Solution)
I found a solution. I reinitialize uart.