void appendIntToLCD(int i) { char buffer[7]; #ifdef SDCC_pic16 //sdcc needs the radix as 3rd argument itoa(i,buffer,10); #else itoa(i,buffer); buffer[6] = 0; #endif appendStringToLCDcharptr(buffer); }
void appendIntToLCD(int i) { char buffer[7]; itoa(i,buffer); buffer[6] = 0; appendStringToLCDcharptr(buffer); }
void appendIntToLCD(int i) { char buffer[6]; itoa(buffer,i,10); buffer[5] = 0; appendStringToLCDcharptr(buffer); }