Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 2.54 KB

flags-and-pattern-constants.md

File metadata and controls

19 lines (12 loc) · 2.54 KB
description
Many of the lcd functions accept parameters named flags and patterns. The names and their meanings are described below.

Flags and Pattern Constants

lcd.drawText Flags

NameDescriptionEdgeTX verNotes
0normal font, default precision for numeric2.3
XXLSIZEjumbo font2.3
DBLSIZEdouble size font2.3
MIDSIZEmid sized font2.3
SMLSIZEsmall font2.3
BOLDbold font2.3Only color displays. This is a font size on its own - cannot be combined with other font size flags.
SHADOWEDshadow font2.3Only color displays
INVERSinverted display2.3
BLINKblinking text2.3
LEFTleft justify2.3Default for most functions not related to bitmaps
RIGHTright justify2.3
CENTERcenter justify2.3Only color displays
VCENTERcenter vertically2.5.0Only color displays
PREC1single decimal place2.3display with one decimal place (number 386 is displayed as 38.6)
PREC2two decimal places2.3display with one decimal place (number 386 is displayed as 3.86)
GREY_DEFAULTgrey fill2.3
TIMEHOURdisplay hours2.3Only for lcd/drawTimer

lcd drawing functions flags on B&W LCD radios

NameDescriptionEdgeTX verNotes
FORCEpixels will be black2.3
ERASEpixels will be white2.3

lcd.drawLine function patterns

NameDescriptionEdgeTX verNotes
SOLIDlines will appear soild2.3
DOTTEDlines will appear dotted2.3