Author |
Message |
Topic: Pointers to const array |
Oznog
Replies: 13
Views: 29552
|
Forum: General CCS C Discussion Posted: Sun Oct 31, 2004 1:27 am Subject: Pointers to const array |
No one said that you can't store the data as constants. You just ain't gonna use a pointer to it. You can still access the data using const arrays. Yeah, yeah I know. You want to embed a constant ... |
Topic: Pointers to const array |
Oznog
Replies: 13
Views: 29552
|
Forum: General CCS C Discussion Posted: Thu Oct 28, 2004 1:14 pm Subject: Pointers to const array |
Um, except both are ridiculously impractical.
That's where you would be wrong! It is a limitation of the compiler. Live with it and deal with it. Other people have and I am sure many projects h ... |
Topic: Pointers to const array |
Oznog
Replies: 13
Views: 29552
|
Forum: General CCS C Discussion Posted: Thu Oct 28, 2004 12:15 am Subject: Pointers to const array |
Well the driver could access the elements of the array instead of using a pointer. Just pretend its BASIC
You can copy the const array to a RAM array and use a pointer to the RAM instead.
... |
Topic: Pointers to const array |
Oznog
Replies: 13
Views: 29552
|
Forum: General CCS C Discussion Posted: Wed Oct 27, 2004 4:04 pm Subject: Pointers to const array |
I have a constant struct which uses a pointer to a constant array of data. The data length varies depending on which instance of struct it is. It's for graphical LCD fonts of differing sizes, and so ... |
Topic: Converting HiTech code to CCS |
Oznog
Replies: 6
Views: 14934
|
Forum: General CCS C Discussion Posted: Mon Oct 25, 2004 9:01 pm Subject: Converting HiTech code to CCS |
Is there a guide out for the shortest way to convert HiTech C code to CCS? I know the way of addressing pins and registers is different. I am unclear on how to even address registers from only a qui ... |
Topic: I need help with my graphic lcd based in T6963C |
Oznog
Replies: 3
Views: 13351
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2004 1:59 am Subject: I need help with my graphic lcd based in T6963C |
What is it doing?
Post your code, maybe we can fix it? I've done T6963C, graphics tasks, graphical fonts, it's all good.
And- the question that will make you find something breakable around you ... |
|