We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a761a commit ff9fc5bCopy full SHA for ff9fc5b
src/LiquidCrystal.h
@@ -13,6 +13,10 @@
13
#define LCD_FUNCTIONSET 0x20
14
#define LCD_SETCGRAMADDR 0x40
15
#define LCD_SETDDRAMADDR 0x80
16
+#define LCD_BRIGHT100 0x00
17
+#define LCD_BRIGHT75 0x01
18
+#define LCD_BRIGHT50 0x02
19
+#define LCD_BRIGHT25 0x03
20
21
// flags for display entry mode
22
#define LCD_ENTRYRIGHT 0x00
@@ -61,6 +65,8 @@ class LiquidCrystal : public Print {
61
65
62
66
void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS);
63
67
68
+ void bright (uint8_t brg) { command (LCD_FUNCTIONSET | _displayfunction | brg); }
69
+
64
70
void clear();
71
void home();
72
0 commit comments