{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2024%2F07%2F09%2F205124\" title=\"M5stack\u306eEEPROM\u3092\u6d88\u3059 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["arduino"],"blog_title":"Bye Bye Moore","author_name":"shuzo_kino","blog_url":"https://shuzo-kino.hateblo.jp/","height":"190","url":"https://shuzo-kino.hateblo.jp/entry/2024/07/09/205124","provider_name":"Hatena Blog","width":"100%","image_url":null,"title":"M5stack\u306eEEPROM\u3092\u6d88\u3059","version":"1.0","provider_url":"https://hatena.blog","type":"rich","published":"2024-07-09 20:51:24","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","description":"\u306e\u7d9a\u304d\u3002 \u3053\u306e\u307e\u307e\u3060\u3068\u96fb\u6e90\u3092\u518d\u6295\u5165\u3057\u3088\u3046\u304c\u30d5\u30a1\u30fc\u30e0\u3092\u66f8\u304d\u63db\u3048\u3088\u3046\u304cEEPROM\u304c\u6d88\u3048\u306a\u3044\u306e\u3067\u4e0a\u66f8\u304d\u30ea\u30bb\u30c3\u30c8\u306e\u65b9\u6cd5\u3092\u5b9f\u88c5\u3057\u307e\u3059 \u5b9f\u969b\u306e\u3068\u3053\u308d \u307e\u305asetup\u95a2\u6570\u3088\u308a\u5148\u306b\u4e8c\u3064\u306e\u95a2\u6570\u3092\u8ffd\u52a0 // EEPROM\u3092\u30af\u30ea\u30a2\u3059\u308b\u95a2\u6570 void clearEEPROM() { for (int i = 0; i < ROMSIZE; i++) { EEPROM.write(i, 0xFF); } EEPROM.commit(); } // \u30c7\u30d0\u30a4\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u95a2\u6570 void restartDevice() { ESP.restart(); } loop\u95a2\u6570\u306e\u4e2d\u306b void loop() { // \u30dc\u30bf\u30f3\u64cd\u4f5c\u3067\u2026"}