52 #ifdef PCF8574_GENERIC
65 #ifdef PCF8574_GENERIC
87 #ifdef PCF8574_GENERIC
112 void LCD_shift (
unsigned char shift,
unsigned char number_of_shift) {
116 for (i=0; i < number_of_shift; i++) {
130 for (i=0; i < number_of_shift; i++) {
176 unsigned char preliminary_buffer;
180 #ifdef PCF8574_GENERIC
189 preliminary_buffer = (value & 0xF0) >> 4;
194 preliminary_buffer = (value & 0x0F);
200 #ifdef PCF8574_GENERIC
249 void LCD_write_integer (
signed int value,
unsigned char number_of_digits,
unsigned char zero_cleaning){
252 unsigned char convertedInt [6] = {0,0,0,0,0,0};
259 itoa (value, (
unsigned char*) convertedInt);
263 itoa ((
unsigned char*) convertedInt, value,10);
266 if (number_of_digits >0 ) {
268 convertedInt[number_of_digits] =
'\0';
271 while (!(convertedInt[number_of_digits-1] <=
'9' && convertedInt[number_of_digits-1] >=
'0')) {
273 for (index = number_of_digits-1; index > 0; index--){
274 convertedInt[index] = convertedInt[index-1];
277 convertedInt[index-1] =
' ';
279 convertedInt[index-1] =
'0';
302 void LCD_cursor (
unsigned char active,
unsigned char blinking) {
319 #ifdef PCF8574_GENERIC
338 #ifdef PCF8574_GENERIC