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 milliseconds
for loop = 1,5,1 -- show it a 10 times
do
for image = 20,49,1 -- 0,3 does bmp files 4,7 does jpg as set in config.txt
do
ez.SetXY(0,0,0,0) -- set graphic start location
ez.PutPictNo(image) -- draw image n (can be bmp or jpg) jpg will be much faster
ez.Wait_ms(delay) -- delay display of next frame
image = image + 1
end
for image = 49,20,-1 -- 0,3 does bmp files 4,7 does jpg as set in config.txt
do
ez.SetXY(0,0,0,0) -- set graphic start location
ez.PutPictNo(image) -- draw image n (can be bmp or jpg) jpg will be much faster
ez.Wait_ms(delay) -- delay display of next frame
image = image + 1
end
end
We should fix the manual or the example code (autoexec.lua)
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![image](https://user-images.githubusercontent.com/198251/229554149-bd04102d-935a-4b25-be9a-c05e36ca6c92.png)
We should fix the manual or the example code (autoexec.lua)