3 #include "Software/TWI.h" 4 #include "Hardware/TWI.h" 36 #define MEASURE(expr) \ 43 Serial.print(F(": " #expr ": ")); \ 44 Serial.println(stop - start); \ 46 lcd.display_clear(); \ 51 for (
int h = 0; h < lcd.
HEIGHT; h++)
52 for (
int w = 0; w < lcd.
WIDTH; w++)
53 lcd.print((
char) (
'A' + w));
76 MEASURE(lcd.print(
"Hello World"));
77 MEASURE(lcd.print(F(
"Hello World")));
78 MEASURE(lcd.print(F(
"\aHello World\a")));
79 MEASURE(lcd.print(F(
"Hello\tWorld")));
80 MEASURE(lcd.print(F(
"Hello\nWorld")));
81 MEASURE(lcd.print(F(
"\nHello\tWorld")));
95 MEASURE(lcd.print(1234.56789, 5));
96 MEASURE(lcd.print(-1234.56789, 5));
99 MEASURE(lcd.print(0x8000, BIN));
100 MEASURE(lcd.print(0x8000, DEC));
101 MEASURE(lcd.print(0x8000, HEX));
125 #if !defined(PCD8544_H)
virtual void display_inverse()
virtual size_t write(uint8_t c)
virtual void display_on()
void cursor_underline_on()
virtual void cursor_blink_off()
virtual void display_clear()
virtual void cursor_set(uint8_t x, uint8_t y)
virtual void cursor_blink_on()
virtual void backlight_off()
virtual void display_normal()
void cursor_underline_off()
virtual void display_off()
virtual void backlight_on()
virtual void cursor_home()