summaryrefslogtreecommitdiff
path: root/trunk/users/bruce/Lcd test/LCD test files/lcd_test.pde
blob: f8579c752e7932a9b8f4f78ff9c4d1e95c14d935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <Wire.h>
#include "i2c_lcd.h"


void setup()
{
  Serial.begin(19200);
  Wire.begin();                   //this is to start the initilize the lcd screen                                     
         portexpanderinit();
         delay(200);
         LCDinit();
         delay(500);
         LCDclear(); 
         LCDprint("start"[5]);
}

void loop()
{
  if (Serial.available()) {
    LCDprint(Serial.read());
  }
}