openwch / arduino_core_ch32

Core library for CH32duino
254 stars 43 forks source link

How to use standby with the arduino core? #102

Open radwouters opened 4 months ago

radwouters commented 4 months ago

For a project with the CH32V003, I would like to use the deep sleep mode(Standby). However, I cannot really find a good example of how to implement this using the arduino core. I found the ch32_interrupt_enable function, but it does not have a clear documentation.

Would it be possible to create a simple doc for this?

maxint-rd commented 4 months ago

+1 in support for adding a sleep() example.