Hi,
I use TOS 2.1.1 and I am trying to read/write flash memory in tinyos
application.
I included the following head in my source: #include <avr/pgmspace.h>
then, to store the data in flash:
unsigned char number[] PROGMEM = { 31,   0,   6, 107,   2,   6, 116}
But I have this error : error: avr/pgmspace.h: No such file or directory.
How should I write the code?
Please help.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to