Author |
Message |
Topic: using the ICD1 with CCS |
igorp
Replies: 1
Views: 27655
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu May 26, 2005 12:10 pm Subject: using the ICD1 with CCS |
If I remeber well ICD1 was delivered with processor of "C" version so it's no way to reprogram it.
The best way is to buy 16F876, download files called ccsicd-pic16.hex or ccsicd-pic.18.hex (depen ... |
Topic: pointers |
igorp
Replies: 10
Views: 13431
|
Forum: General CCS C Discussion Posted: Mon Apr 25, 2005 2:42 pm Subject: pointers |
I suggest such solution:
char const tabstr[]={"this string is over twenty characters\000\
second string\000\
thirth string, please\000"};
void lcd_writeline_rom ... |
Topic: pointers |
igorp
Replies: 10
Views: 13431
|
Forum: General CCS C Discussion Posted: Sun Apr 24, 2005 3:02 pm Subject: pointers |
I see... C Compiler Reference Manual page 232
I don't see any way how to send address of a string stored in the program memory to a procedure as a parameter. Am I right?
Igor |
Topic: pointers |
igorp
Replies: 10
Views: 13431
|
Forum: General CCS C Discussion Posted: Sat Apr 23, 2005 5:02 pm Subject: pointers |
Hi all more experienced
I missed something... What is wrong by such construction ?
void lcd_writeline_rom(char lineno, char const * text) {
while (*text)
The compiler refuses *text in while ... |
|