52 #ifdef PCF8574_GENERIC
65 #ifdef PCF8574_GENERIC
101 #ifdef PCF8574_GENERIC
126 void LCD_shift (
unsigned char shift,
unsigned char number_of_shift) {
130 for (i=0; i < number_of_shift; i++) {
144 for (i=0; i < number_of_shift; i++) {
190 unsigned char preliminary_buffer;
194 #ifdef PCF8574_GENERIC
203 preliminary_buffer = (value & 0xF0) >> 4;
208 preliminary_buffer = (value & 0x0F);
214 #ifdef PCF8574_GENERIC
263 void LCD_write_integer (
signed int value,
unsigned char number_of_digits,
unsigned char zero_cleaning){
266 unsigned char convertedInt [6] = {0,0,0,0,0,0};
273 itoa (value, (
unsigned char*) convertedInt);
277 itoa ((
unsigned char*) convertedInt, value,10);
280 if (number_of_digits >0 ) {
282 convertedInt[number_of_digits] =
'\0';
285 while (!(convertedInt[number_of_digits-1] <=
'9' && convertedInt[number_of_digits-1] >=
'0')) {
287 for (index = number_of_digits-1; index > 0; index--){
288 convertedInt[index] = convertedInt[index-1];
291 convertedInt[index-1] =
' ';
293 convertedInt[index-1] =
'0';
316 void LCD_cursor (
unsigned char active,
unsigned char blinking) {
333 #ifdef PCF8574_GENERIC
351 #ifdef PCF8574_GENERIC