summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc5
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();