how to change ROM data ;
used :
void WriteStopRomString(unsigned char stopIndex, unsigned char symbol, unsigned char lcdAddr, unsigned char command)
{
char byte;
unsigned char i;
unsigned int index;
rom char *ptr;
ram char *ram_ptr;
*ram_ptr = symbol;
ptr = &stopsRomString[0];
byte = *ptr;
strcpyram2pgm(ptr, ram_ptr);
}
but doesn't work...
any idea??
used :
void WriteStopRomString(unsigned char stopIndex, unsigned char symbol, unsigned char lcdAddr, unsigned char command)
{
char byte;
unsigned char i;
unsigned int index;
rom char *ptr;
ram char *ram_ptr;
*ram_ptr = symbol;
ptr = &stopsRomString[0];
byte = *ptr;
strcpyram2pgm(ptr, ram_ptr);
}
but doesn't work...
any idea??