http://uk.farnell.com/batron/bthq21605v-cog-fsre-i2c/lcd-module-alphanumeric-2x16/dp/1220409

Dependents:   PCF2119_16X2_LCD_test LPC1768BagSensor

Files at this revision

API Documentation at this revision

Comitter:
ssozonoff
Date:
Fri May 13 13:27:07 2011 +0000
Parent:
0:581d2def0734
Commit message:
Removed example code from driver

Changed in this revision

main.cpp Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 13 13:25:10 2011 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#include "mbed.h"
-#include "PC2119_16X2_LCD.h"
-#include "TMP102.h"
-
-TMP102 temperature(p28, p27, 0x90);
-
-DigitalOut myled(LED1);
-PC2119_16X2_LCD lcd(p28, p27, p21);
-
-int main() {
-    char str[5];
-    
-    lcd.Init();
-    lcd.clear_display();
-    
-    // spin it 180
-    lcd.flip_display();
-
-    while (1) {
-        lcd.printf("%2.2fC", temperature.read());
-        
-        lcd.write_xy(0x21, 1, 15, true);
-        myled = 1;
-        wait(0.5);
-        myled = 0;
-        lcd.write_xy(0x11, 1, 15, true);        
-        wait(0.5);
-    }
-}