Thanks guys,
I'm actually using the Atmel AVR studio compiler.
I read that I must use a special library to retain the table in flash only and to be able to read the values.
That's the thing with embedded processors, that you're pretty limited by the hardware. There's only so much "C" can do...
Thanks for your answer cpjust, now that makes sense.
Although Im' wondering if this data ends up in RAM or FLASH (im'programing a uP with 2k RAM and 32kFLASH).
I guess i'll try to make it 3k of data, then ill'know...
-Thanks again :)
Hello, everyone :), one question,
I am defining a list of numbers like this:
#define stuff (0, 0,255, 0, 0,255,\
5, 5,255, 5, 5,255)
And am declaring this pointer:
UINT16 *pattern_pointer;
And would like to use these numbers at run time from
a function, this is what...
Thanks a lot xwb !, sorry I'm replying so late.
I also hadn't figured out that getting a warning for "pointing to different types" wasn't necessarily bad, if that is what you need to do.
-Im still trying to fully understand pointers.
-thanks again :)
Hello everyone, am new to this forum, and i've been programming with C for a couple of years on and off now.
I'm basically trying to read a byte from a specific memory address, by using:
UINT8 value;
UINT8 *apointer;
apointer=0x1080;
value = *apointer
-But I get a 'type mismatch' error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.