mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 05:58:39 +01:00
Merge branch 'main' of github.com:joBr99/nspanel-widget-ui (add nextion2text)
This commit is contained in:
@@ -358,7 +358,7 @@ Timer tmSpinner
|
||||
|
||||
Events
|
||||
Timer Event
|
||||
xpic 154,49,spinner_w.val,140,frame_ptr.val,0,12 // draw the current frame
|
||||
xpic 154,49,spinner_w.val,140,frame_ptr.val,0,11 // draw the current frame
|
||||
frame_ptr.val+=spinner_w.val%frapic_w.val // advance the pointer to the next frame in the pic resource and roll over at the end
|
||||
doevents // finish drawing before next timer event triggers
|
||||
if(frame_ptr.val==1820)
|
||||
|
||||
Reference in New Issue
Block a user