Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

A simple C18 ?

Status
Not open for further replies.
Got it! Just had to remove 1 old line from Jason's modification.

Thanks to all:) Aaron
 
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top