Skip to content

lcd.drawPoint

lcd.drawPoint(x, y, [flags])

Draw a single pixel at (x,y) position

Parameters

Name Req Type Description
x yes integer x position
y yes integer y position
flags no integer please see the Lcd functions overview

Returns

None.

Availability

  • Since: 2.0.0
  • Radio support: bw-lcd
  • Radio support: color-lcd

Notes

  • Taranis has an LCD display width of 212 pixels and height of 64 pixels. Position (0,0) is at top left. Y axis is negative, top line is 0, bottom line is 63. Drawing on an existing black pixel produces white pixel (TODO check this!)

Source

radio/src/lua/api_colorlcd.cpp; radio/src/lua/api_stdlcd.cpp