41 #error The LCD_44780_I2C Library supports only PIC18 devices
94 void shift_LCD(
unsigned char shift,
unsigned char number_of_shift) {
98 for (i=0; i < number_of_shift; i++) {
112 for (i=0; i < number_of_shift; i++) {
158 unsigned char preliminary_buffer;
164 preliminary_buffer = (value & 0xF0) >> 4;
169 preliminary_buffer = (value & 0x0F);
220 unsigned char convertedInt [6] = {0,0,0,0,0,0};
227 itoa (value, (
unsigned char*) convertedInt);
231 itoa ((
unsigned char*) convertedInt, value,10);
234 if (number_of_digits >0 ) {
236 convertedInt[number_of_digits] =
'\0';
239 while (!(convertedInt[number_of_digits-1] <=
'9' && convertedInt[number_of_digits-1] >=
'0')) {
241 for (index = number_of_digits-1; index > 0; index--){
242 convertedInt[index] = convertedInt[index-1];
243 convertedInt[index-1] =
' ';
265 void cursor_LCD(
unsigned char active,
unsigned char blinking) {