{"blog_title":"Bye Bye Moore","width":"100%","blog_url":"https://shuzo-kino.hateblo.jp/","version":"1.0","image_url":null,"url":"https://shuzo-kino.hateblo.jp/entry/2025/02/03/200604","provider_url":"https://hatena.blog","height":"190","type":"rich","author_name":"shuzo_kino","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","published":"2025-02-03 20:06:04","categories":["arduino"],"title":"M5stack Basic\u3092\u5bfe\u5411\u3067SPI\u901a\u4fe1\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2025%2F02%2F03%2F200604\" title=\"M5stack Basic\u3092\u5bfe\u5411\u3067SPI\u901a\u4fe1\u3059\u308b - 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>","description":"\u5b9f\u969b\u306e\u3068\u3053\u308d HW\u7684\u524d\u63d0 MOSI/MISO\u306f\u30af\u30ed\u30b9\u3067\u7e4b\u3050 CS\u306f\u53d7\u3051\u624b\u3068\u9001\u308a\u624b\u3067\u3061\u3083\u3093\u3068\u5165\u529b\u51fa\u529b\u3092\u308f\u3051\u3066\u304a\u304f \u30a2\u30d7\u30ea #include <M5Stack.h> #include <SPI.h> // M5Stack Basic\u7528\u306eSPI\u30d4\u30f3 #define SPI_SCLK 18 // SCK\u30d4\u30f3 #define SPI_MISO 19 // MISO\u30d4\u30f3 #define SPI_MOSI 23 // MOSI\u30d4\u30f3 #define SPI_CS 26 // CS2\u30d4\u30f3 // \u30c6\u30b9\u30c8\u30c7\u30fc\u30bf uint8_t testByte = 0xAA; // \u30c6\u30b9\u30c8\u30d1\u30bf\u30fc\u30f3 10101010 // \u30c7\u30d0\u30a4\u30b9\u2026","provider_name":"Hatena Blog"}