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

Dependents:   PCF2119_16X2_LCD_test LPC1768BagSensor

Revision:
0:581d2def0734
diff -r 000000000000 -r 581d2def0734 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri May 13 13:25:10 2011 +0000
@@ -0,0 +1,29 @@
+#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);
+    }
+}