60 lines
620 B
Plaintext
60 lines
620 B
Plaintext
0→N
|
|
0→L
|
|
|
|
Lbl MM
|
|
WisHome
|
|
Menu("DFPlayer Mini","Play",PL,"Pause",PA,"Playback",PB,"Volume",V,"Quit",Q)
|
|
|
|
Lbl PL
|
|
Send({13})
|
|
Goto MM
|
|
|
|
Lbl PA
|
|
Send({14})
|
|
Goto MM
|
|
|
|
Lbl PB
|
|
WisHome
|
|
Menu("Playback","Next",NE,"Previous",PR,"Stop",ST,"Shuffle",SH,"Select",SE,"Back",MM)
|
|
|
|
Lbl NE
|
|
Send({1})
|
|
Goto PB
|
|
|
|
Lbl PR
|
|
Send({2})
|
|
Goto PB
|
|
|
|
Lbl ST
|
|
Send({17})
|
|
Goto PB
|
|
|
|
Lbl SH
|
|
Send({8})
|
|
Goto PB
|
|
|
|
Lbl SE
|
|
Input "Select song: ",N
|
|
Send({3,N})
|
|
Goto PB
|
|
|
|
|
|
Lbl V
|
|
WisHome
|
|
Menu("Volume","Volume Up",VU,"Volume Down",VD,"Set",VS,"Back",MM)
|
|
|
|
Lbl VU
|
|
Send({4})
|
|
Goto V
|
|
|
|
Lbl VD
|
|
Send({5})
|
|
Goto V
|
|
|
|
Lbl VS
|
|
Input "Set volume 1-30: ",L
|
|
Send({6,L})
|
|
Goto V
|
|
|
|
Lbl Q
|
|
Stop |