When I use the iota function and I don´t try to send it to the LCD, the
lcd damages.The next sample works correctly:
LCD:
**********************
*aaaaa Hello *
*Microchip *
**********************
rom const char aaa[]="Hello";
ram const char bbb[]="Microchip";
void main(void)
{XLCDClear();
XLCDPutRomString("aaaaa ");
XLCDPutRomString(aaa);
XLCDL2home();
XLCDPutRamString(bbb);
}
But I execute itoa at the middle of the program, although I don´t send it to the LCD, the LCD damages.
LCD:
Somebody can help to me? I am making something bad with the iota function.
Very thanks.
lcd damages.The next sample works correctly:
LCD:
**********************
*aaaaa Hello *
*Microchip *
**********************
rom const char aaa[]="Hello";
ram const char bbb[]="Microchip";
void main(void)
{XLCDClear();
XLCDPutRomString("aaaaa ");
XLCDPutRomString(aaa);
XLCDL2home();
XLCDPutRamString(bbb);
}
But I execute itoa at the middle of the program, although I don´t send it to the LCD, the LCD damages.
LCD:
- rom const char aaa[]="Hello";ram const char bbb[]="Microchip"; void main(void){XLCDClear(); XLCDPutRomString("aaaaa "); itoa(b,a); XLCDPutRomString(aaa); XLCDL2home(); XLCDPutRamString(bbb);}
Somebody can help to me? I am making something bad with the iota function.
Very thanks.