diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-26 13:34:56 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-26 13:34:56 +0100 |
commit | 02b15618cdf0c459d0ba68c85ce56decc96c0563 (patch) | |
tree | 0110e85aa5f5de1d72a2fe02a82347da8c6d6066 /src/main.cc | |
parent | 0ed103d8a4e7b313ca699c9f448f69cc57cb4792 (diff) |
add structs/typedefs for text and animation data
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 8ca3e21..fad0c8e 100644 --- a/src/main.cc +++ b/src/main.cc @@ -12,6 +12,9 @@ int main (void) { + text ohai; + ohai.str = (char *)"Ohai! "; + // disable ADC to save power PRR |= _BV(PRADC); @@ -21,7 +24,7 @@ int main (void) // Enable pull-ups on PC3 and PC7 (button pins) PORTC |= _BV(PC3) | _BV(PC7); - display.setString("Ohai! "); + display.show(ohai); display.enable(); modem.enable(); |