lcd.drawPixmap

Draws a bitmap file stored on the SD card at (x, y).

Syntax

lcd.drawPixmap( x, y, name )

Parameters

Name
Req
Type
Description

x

integer

top coordinate

y

integer

left coordinate

name

string

full path to a bitmap on the SD card, e.g. "/IMAGES/test.bmp"

Returns

none

Notes

Maximum image size is [LCD_W / 2] x [LCD_H] pixels.

If you draw the same image repeatedly, prefer loading it once with Bitmap.open and then drawing it with lcd.drawBitmap.

Available on

API status

EdgeTX version
Action

2.0.0

Introduced

Examples

Last updated

Was this helpful?