You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Some examples pass four parameters to the ez.SetXY() but the third and fourth parameter are not documented in the ezLCD-5x LUA API Manual 082922
---- gasguage.lua ez.Cls(0,0,0)
delay=100-- set frame delay in millisecondsforloop=1,5,1-- show it a 10 timesdoforimage=20,49,1-- 0,3 does bmp files 4,7 does jpg as set in config.txtdoez.SetXY(0,0,0,0) -- set graphic start locationez.PutPictNo(image) -- draw image n (can be bmp or jpg) jpg will be much fasterez.Wait_ms(delay) -- delay display of next frameimage=image+1endforimage=49,20,-1-- 0,3 does bmp files 4,7 does jpg as set in config.txtdoez.SetXY(0,0,0,0) -- set graphic start locationez.PutPictNo(image) -- draw image n (can be bmp or jpg) jpg will be much fasterez.Wait_ms(delay) -- delay display of next frameimage=image+1endend
We should fix the manual or the example code (autoexec.lua)
The text was updated successfully, but these errors were encountered:
Describe the issue
Some examples pass four parameters to the ez.SetXY() but the third and fourth parameter are not documented in the ezLCD-5x LUA API Manual 082922
We should fix the manual or the example code (autoexec.lua)
The text was updated successfully, but these errors were encountered: