41 #error "The LCD_44780_I2C Library supports only PIC18 devices"
95 void shift_LCD(
unsigned char shift,
unsigned char number_of_shift) {
99 for (i=0; i < number_of_shift; i++) {
113 for (i=0; i < number_of_shift; i++) {
159 unsigned char preliminary_buffer;
165 preliminary_buffer = (value & 0xF0) >> 4;
170 preliminary_buffer = (value & 0x0F);
221 unsigned char convertedInt [6] = {0,0,0,0,0,0};
228 itoa (value, (
unsigned char*) convertedInt);
232 itoa ((
unsigned char*) convertedInt, value,10);
235 if (number_of_digits >0 ) {
237 convertedInt[number_of_digits] =
'\0';
240 while (!(convertedInt[number_of_digits-1] <=
'9' && convertedInt[number_of_digits-1] >=
'0')) {
242 for (index = number_of_digits-1; index > 0; index--){
243 convertedInt[index] = convertedInt[index-1];
244 convertedInt[index-1] =
' ';
266 void cursor_LCD(
unsigned char active,
unsigned char blinking) {