1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Documentation for FreetronicsLCD library

This commit is contained in:
Rhys Weatherley
2012-04-05 15:09:43 +10:00
parent 4b2cdd3102
commit a84431d58e
19 changed files with 2512 additions and 83 deletions

View File

@@ -47,8 +47,8 @@ void loop() {
timeField.setValue(millis() / 1000);
// Dispatch button events to the main form.
int button = lcd.getButton();
if (mainForm.dispatch(button) == FORM_CHANGED) {
int event = lcd.getButton();
if (mainForm.dispatch(event) == FORM_CHANGED) {
if (mainForm.isCurrent(ledField)) {
if (ledField.value())
digitalWrite(STATUS_LED, HIGH);