SnijderC / dyplayer

Abstracton for DY-XXXX mp3 player modules over UART.
Other
107 stars 29 forks source link

ONE_Line mode supports SLEEP mode #50

Open hattesen opened 1 year ago

hattesen commented 1 year ago

Hi, one reason to support the ONE_Line mode is that, as far as I can determine, is the only way to request SLEEP mode:

One_line CMD 0x0B -> "System sleep"

Source: DY-SV17F module functions introduction.pdf

How the "System sleep" mode is cancelled, I have no idea ;)

paulklinkenberg commented 1 month ago

See #53 for example code on how to use the one_line mode. The example code also implements the Sleep mode command. In my own testing though, there was no difference in power usage after requesting sleep mode…