Skip to content

lcd.getColor

lcd.getColor(flags)

Get the color value from flags

Parameters

Name Req Type Description
flags yes integer please see the Lcd functions overview

Returns

Name Type Description
color integer only the RGB565 color value of the input

Availability

  • Since: 2.3.11
  • Radio support: color-lcd

Notes

  • Only available on radios with color display

Source

radio/src/lua/api_colorlcd.cpp