Repository navigation
Radiomaster Zorro Telemetry Script: Does not display images #6054
marcrupprath
started this conversation in
LUA
Replies: 3 comments 1 reply
|
Images for B&W radios like the Zorro (with 128x64 pixel displays) have to be 1bpp, not greyscale or indexed color. |
1 reply
|
Wide screen B&W radios have a 4bpp display - the image is indexed color (greyscale), so it will not work on your radio. |
0 replies
|
Thank you that solves the problem, bsides the fact that bitmaps must not exceed 1/2 screen width |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello ,
see last entry here:
https://www.rcgroups.com/forums/showthread.php?2180477-LUA-scripting-Technical-discussion/page229#post45440615
This script:
**-- Telemetry script, round.bmp is stored in the IMAGES folder.
local function bg_func()
end
local function init_func()
end
local function run_func()
lcd.clear()
lcd.drawPixmap(0, 0, "/IMAGES/round.bmp")
lcd.drawPixmap(74, 0, "/IMAGES/round.bmp")
lcd.drawPixmap(148, 0, "/IMAGES/round.bmp")
end
return {run=run_func, background=bg_func, init=init_func}**
Will not work either in EdgeCompanion similation nor on my Zorro Transmitter
It just creates an empty screen but does not show the bitmap located on SD Card folder"root" \images
Question is why ?
Edge Campagnion shows logmessage like:
298730ms: f_open(C:/Users/Administrator/OneDrive/2025/zorro_red/IMAGES/round.bmp, 1) = 00007fffa0288a90 (FIL 00000082aa3fecd0)
Where: C:/Users/Administrator/OneDrive/2025/zorro_red, is "root" folder for symulaton
As you can see on the example images, it seasm that it runs fine on Taranis ?
MAybe it was made with OpenTX
Note : have uploaded "round.bmp" used in code as jpeg, because i cant upload bmp here-
Thanks in advance
All reactions