Open silvan2468 opened 1 year ago
Hi Silvan, Thanks for sharing your code! It works with the DY-SV17F and Arduino Nano. The only thing bothering me, is that after calling setSystemSleep(), there is no change in power usage :( Did you have more luck when testing this functionality?
No. As I needed a realtime system (no delays), at the end I realized, that its possible with Arduino Nano 33 Ble (NRF52840) to have 2 serial ports. Not just one. So I changed back to true UART communication and did not longer need the one-line-mode.
Aah, that makes sense. Thanks. I was actually also using UART, but in my battery driven project, I noticed the battery was being drained too fast. I was hoping for the “system sleep” functionality to help me, but I noticed no difference. Do you (or anyone else) know if the “system sleep” mode is available via uart? I couldn’t find it in the docs, nor in the source code of this repo…
Dear all Because of missing UART-channels, I wrote and tested the one line operation. Not yet all functions, but thats easy to add with my tested functions. Because I am a beginner in programming and only in C, I don't know how to commit etc. So perhaps a better programmer than me can/will do it?
To know about one line:
I hope my code is helpful for someone else.
Greetings Silvan