AGCB Member Feb 25, 2014 #41 Got it! Just had to remove 1 old line from Jason's modification. Thanks to all Aaron
AGCB Member Feb 26, 2014 #43 AtomSoft said: Glad to hear that, which line? Click to expand... 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
AtomSoft said: Glad to hear that, which line? Click to expand... 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
AtomSoft Well-Known Member Feb 26, 2014 #44 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");
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");