2012-10-26 29 views

答えて

5

正確にこれを行う方法の例があります。on the Arduino websiteです。 (「文字列の配列」を参照してください。)

2

はい、Arduino Webサイトの例があります。しかし、私はあなたにcompiler bug in GCCと次の回避策を知らせたいと思っています:

/** 
* Alternative to PROGMEM storage class 
* 
* Same effect as PROGMEM storage class, but avoiding erroneous warning by 
* GCC. 
* 
* \see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734 
*/ 
#define PROGMEM_ __attribute__((section(".progmem.data"))) 
関連する問題