é»å æ²ç¤ºæ¿ã®ãã©ã³ãç¨ãã¼ã¿ãªã©ããããã®ãã¼ã¿ããããããarduinoã«è¨æ¶ããã¦èªç±ã«ä½¿ç¨ã§ãã便å©ãªãPROGMEMãã§ããããããããã使ãæ¹ããªãã®ã§ç°¡åã«ã¾ã¨ãã âãã©ããã¦PROGMEMã使ãã®ã Arduinoã¯SRAMãå°ãããããé常ã®intãªã©ã§å¤§ããªé åãä½ã£ãå ´åãæ ¼ç´ããããæ´èµ°ããã âãPROGMEMã使ãã«ã¯ #include <avr/pgmspace.h>ããããæåã«è¨å ¥ã ã¡ãªã¿ã«pgmspace.hã¯\arduino\hardware\tools\avr\avr\include\avrã®ä¸ã«ããã¾ããï¼ãããããï¼ è©³ãããã¨ã¯ããã«ã ã»SRAMã«æ ¼ç´ãããå¤æ°ã®å®£è¨ dataType variableName[] PROGMEM ={xxxxx.xxxxx.....}; 使ç¨ã§ããdataTypeã¯å¾è¿°ã®ãªãã¡ã¬ã³ã¹ãåç §ã é常ã®int
{{#tags}}- {{label}}
{{/tags}}