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 | true | integer | top coordinate |
| y | true | integer | left coordinate |
| name | true | string | full path to a bitmap on the SD card, e.g. "/IMAGES/test.bmp" |
Returns¶
none
Notes¶
Info
Maximum image size is [LCD_W / 2] x [LCD_H] pixels.
Info
If you draw the same image repeatedly, prefer loading it once with Bitmap.open and then drawing it with lcd.drawBitmap.
Available on¶
- [ ] B\&W LCD radios
- [x] Grayscale LCD radios
- [ ] Color LCD radios
API status¶
| EdgeTX version | Action |
|---|---|
| 2.0.0 | Introduced |