version 1.0
Dependencies: CMSIS_DSP_401 GPS MPU9150_DMP PID QuaternionMath Servo mbed
Fork of SolarOnFoils_MainModule_20150518 by
LCD_I2C.h
- Committer:
- Dannis_mbed
- Date:
- 2015-06-23
- Revision:
- 0:81b21910454e
- Child:
- 2:f6d058931b17
File content as of revision 0:81b21910454e:
////////////////////////////////////////////////////////////////////////////////////// // // // 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 // //////////////////////////////////////////////////////////////////////////////////////