avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] pgmspace with arrays of structs with strings


From: Graham Davies
Subject: Re: [avr-chat] pgmspace with arrays of structs with strings
Date: Sat, 30 Apr 2011 09:52:28 -0400

address@hidden wrote:

Can structs be kept in program memory even when those structs include strings?

Try defining and initializing your strings (in program memory) at the top level, i.e. outside of the structure definition, and then using their names to initialize the structure.

Graham.





reply via email to

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