{"title":"L3GD20 \u52d5\u4f5c\u30c6\u30b9\u30c8\u2460","author_url":"https://blog.hatena.ne.jp/katakanan/","blog_url":"https://e-tipsmemo.hatenablog.com/","version":"1.0","published":"2017-08-12 21:56:22","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2017%2F08%2F12%2F215622\" title=\"L3GD20 \u52d5\u4f5c\u30c6\u30b9\u30c8\u2460 - e-tipsmemo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://e-tipsmemo.hatenablog.com/entry/2017/08/12/215622","categories":["\u7d44\u307f\u8fbc\u307f"],"author_name":"katakanan","width":"100%","provider_name":"Hatena Blog","blog_title":"e-tipsmemo","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/katakanan/20170714/20170714232309.png","provider_url":"https://hatena.blog","type":"rich","height":"190","description":"\u6025\u306b\u4f5c\u308a\u305f\u304f\u306a\u3063\u305f\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3001L3GD20\u3092mbed\u304b\u3089\u4f7f\u3063\u3066\u307f\u308b\u3002I2C\u306f\u3061\u3087\u3063\u3068\u9762\u5012\u306a\u306e\u3067SPI\u3067\u901a\u4fe1\u3059\u308b\u3002\u56f3\u306b\u3059\u308b\u307b\u3069\u306e\u3082\u306e\u3067\u3082\u306a\u3044\u56f3\u3002 akizukidenshi.com \u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u3044\u304c\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u81ea\u5206\u3067\u306e\u30c1\u30c3\u30d7\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306b\u3088\u308b\u3068SPI\u306e\u6ce2\u5f62\u306f \u306e\u3088\u3046\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067 SPI - SPI\u30de\u30b9\u30bf\u30fc | Mbed\u306b\u3088\u308b\u3068Mode3 bit\u306f8\u3067 \u6700\u521d\u306fWho am I\u30a2\u30c9\u30ec\u30b9\u3092\u8aad\u3080\u3002 #include \"mbed.h\" #include \"L3GD20.h\" DigitalOut myled(LED1); Serial pc(USBTX, USBRX); //SPI spi(p\u2026"}