[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] array of pointers to PROGMEM strings

From: raphael deimel
Subject: [avr-gcc-list] array of pointers to PROGMEM strings
Date: Sat, 16 Nov 2002 17:26:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1

Hi, I stumbled over a problem. I want to define an array of pointers to ascii strings, everything in progmem to save RAM.

I thought about defining it like this:

PGM_P PROGMEM array[2] = {
   "ascii string",
   "ascii string"

But this would put the ascii strings into ram, right?
Does someone know how to define it?

thx, raphael deimel

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]