Draws a bitmap file stored on the SD card at (x, y).
(x, y)
x
integer
top coordinate
y
left coordinate
name
string
full path to a bitmap on the SD card, e.g. "/IMAGES/test.bmp"
"/IMAGES/test.bmp"
none
Maximum image size is [LCD_W / 2] x [LCD_H] pixels.
[LCD_W / 2] x [LCD_H]
If you draw the same image repeatedly, prefer loading it once with Bitmap.open and then drawing it with lcd.drawBitmap.
Bitmap.open
lcd.drawBitmap
B&W LCD radios
Grayscale LCD radios
Color LCD radios
2.0.0
Introduced
Screen Constants
Was this helpful?
-- draw bitmap file stored on the SD card lcd.drawPixmap(10, 10, "/IMAGES/test.bmp")
-- draw at the top-left corner lcd.drawPixmap(0, 0, "/IMAGES/test.bmp")