HAN Solarboat / Mbed 2 deprecated SolarOnFoils_MainModule_20150518

Dependencies:   CMSIS_DSP_401 GPS MPU9150_DMP PID QuaternionMath Servo mbed

Fork of SolarOnFoils_MainModule_20150518 by Dannis Brugman

Revision:
0:81b21910454e
Child:
2:f6d058931b17
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LCD_I2C.h	Tue Jun 23 13:55:28 2015 +0000
@@ -0,0 +1,48 @@
+//////////////////////////////////////////////////////////////////////////////////////
+//                                                                                  //
+//		File        : LCD_I2C.h                                                     //
+//		Version     : 0.2                                                           //
+//		Date        : 25 march 2015                                                 //
+//		Author      : Dany Brugman                                                  //
+//		Comment     : Function to write data to a 2x16 LCD by I2C                   //
+//                    using a MCP23017 port expander.                               //
+//																					//
+//		Changelog   :																//
+//		Date:			Name:		Comment:										//
+//		25/03/2015		DNB         First version	    							//
+//      25/03/2015      DNB         implemntation LCD_printPos                      //
+//                                                                                  //
+//////////////////////////////////////////////////////////////////////////////////////
+
+#ifndef ____LCD_I2C__
+#define ____LCD_I2C__
+
+//////////////////////////////////////////////////////////////////////////////////////
+// includes                                                                         //
+//////////////////////////////////////////////////////////////////////////////////////
+
+#include <stdio.h>
+#include "MCP23017.h"
+
+//////////////////////////////////////////////////////////////////////////////////////
+// functions                                                                        //
+//////////////////////////////////////////////////////////////////////////////////////
+
+void vLCD_delay_I2C (unsigned int t_delay);                          	// delay up to 65535 ticks
+void vLCD_cmd_I2C   (unsigned char commando);                        	// send commando to LCD
+void vLCD_data_I2C  (unsigned char data);                            	// write single character to LCD
+void vLCD_init_I2C  (void);                                          	// init LCD
+void vLCD_clear_I2C	(void);												// clear LCD
+// write a string to certain line
+void vLCD_printLine_I2C (unsigned char *string, unsigned char line);
+// write a string to certain line
+void vLCD_printPos_I2C (unsigned char *sting, unsigned char line, unsigned char character);
+// write a integer to certain line
+void vLCD_printInt_I2C (int value, unsigned char line, unsigned char character);
+// update lcd
+void vLCD_update (void);
+#endif /* defined(____LCD_I2C__) */
+
+//////////////////////////////////////////////////////////////////////////////////////
+// EOF                                                                              //
+//////////////////////////////////////////////////////////////////////////////////////
\ No newline at end of file