Gary, Include avr/pgmspace.h, and use the pgm_read_word macro to access the program memory.
There's a nice tutorial on it at the following URL: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=38003 Janos On Fri, Sep 21, 2012 at 10:47 AM, Gary Lee <[email protected]> wrote: > Hi, > > On micaz mote, is the InternalFlash interface only used for EEPROM, instead > of the Program Memory of AVR Atemgal128? > > > If yes, does TinyOS 2.1.1 provide some interface to access the Program > Memory of MicaZ? > > > Thanks. > > > Gary > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
