LCD_GUI — Label
Label is a function, so there's no setup.
Parameters to define are
|
The example shown above results from the code
Label(&myLCD, 20, 30, 220, 25, "label left", myLCD.setColour(0xff, 0x00, 0x00), myLCD.setColour(0x00, 0x2f, 0x2f), 1, 0, 9);
dLabel(&myLCD, 20, 60, 220, 25, "label center", myLCD.setColour(0x00, 0xff, 0x00), myLCD.setColour(0x2f, 0x00, 0x2f), 0, 0, 9);
dLabel(&myLCD, 20, 90, 220, 25, "label right", myLCD.setColour(0x00, 0x00, 0xff), myLCD.setColour(0x2f, 0x2f, 0x00), 2, 0, 9);