A simple C18 ?

Status
Not open for further replies.
Glad to hear that, which line?

I couldn't get this to work so far but I may (DO) not know exactly what I
m doing
Code:
LCDStr((char *)"Hello AGCB!\0");

I'll be out of town till tomorrow so will try then again.

Thanks Aaron
 
That's why I like ARM lol C18 is picky as hell...

you can try:
Code:
LCDStr((const char *)"Hello AGCB!\0");
or simply copy the function LCDStr and make a ROM function like:
Code:
LCDRomStr(rom char *string)
{
    while(*string != 0)
    {
        LCDChar(*string++);
    }
}
and use

Code:
LCDStr((rom char *)"Hello AGCB!\0");
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…