Add backlight LED pin output support

This commit is contained in:
poky 2019-11-22 16:36:25 +08:00 committed by GitHub
parent c6faa24494
commit 39ecda7625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -197,4 +197,9 @@
}
commandList(Rcmd3);
}
#ifdef TFT_BL
// Turn on the back-light LED
digitalWrite(TFT_BL, HIGH);
pinMode(TFT_BL, OUTPUT);
#endif
}