C coded library to use 1Wire LCD

Dependencies:   mbed

This method allows you to control an lcd with a 74x595 shift register.

/media/uploads/ahmetunal/shift1.gif /media/uploads/ahmetunal/shift1b.gif /media/uploads/ahmetunal/shift1c.gif /media/uploads/ahmetunal/_scaled_one_wire_lcd.bmp.jpg

Import program1WireLcd

C coded library to use 1Wire LCD

Revision:
0:fcd5b3044e79
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/1WireLcd/1WireLcd.h	Sun Apr 10 08:38:02 2011 +0000
@@ -0,0 +1,34 @@
+#ifndef MBED_1WireLcd_H
+#define MBED_1WireLcd_H
+
+#include "mbed.h"
+#include "LPC1768/LPC17xx.h"
+
+#define Clear 1
+#define GoToFirst 2
+#define WriteLeft 4
+#define WriteRight 6
+#define CloseLcd 8
+#define HidePointer 12
+#define PointerBottom 14
+#define FlashPointer 15
+#define PointerBack 16
+#define ShiftRight 24
+#define ShiftLeft 28 
+#define FirstLine 128
+#define SecondLine 192 
+
+#define TwoLine8Bit 56 
+#define OneLine8Bit 48
+#define TwoLine4Bit 40
+#define OneLine4Bit 32
+
+void one_wire(unsigned char data);
+void lcd_putc(unsigned char);
+void lcd_clear(void);
+void lcd_printf(const char * a);
+void lcd_position(unsigned char x, unsigned char y);
+void lcd_command(unsigned char a);
+void lcd_init(void);
+
+#endif
\ No newline at end of file