{"title":"LPC1114FN28\u306eAD\u5909\u63db\u5024\u3092SPI\u3067mbed LPC1768\u306b\u9001\u4fe1\u3059\u308b","description":"0-5V\u306e\u30b9\u30b1\u30fc\u30eb\u3067\u8a08\u6e2c\u3057\u305f\u3044\u304c\u3001mbed\u306eADC\u3067\u306f3.3V\u307e\u3067\u3057\u304b\u6e2c\u308c\u306a\u30445V->3.3V\u306e\u5206\u5727\u62b5\u6297\u3092\u306f\u3055\u3080 http://make.bcde.jp/circuit/5v\u304b\u30893-3v\u306b\u5909\u63db\u3059\u308b/ Slave #include \"mbed.h\" SPISlave device(dp2,dp1,dp6,dp25); // mosi, miso, sclk, ssel Serial pc(USBTX, USBRX); AnalogIn ain(dp4); int main() { device.format(8,0); device.frequency(1000000); // uint8_t \u2026","blog_title":"how to code something","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/seinzumtode/20170329/20170329161106.png","blog_url":"https://seinzumtode.hatenadiary.jp/","published":"2017-03-29 16:09:32","categories":[],"url":"https://seinzumtode.hatenadiary.jp/entry/20170329/1490771372","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F20170329%2F1490771372\" title=\"LPC1114FN28\u306eAD\u5909\u63db\u5024\u3092SPI\u3067mbed LPC1768\u306b\u9001\u4fe1\u3059\u308b - how to code something\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/seinzumtode/","version":"1.0","provider_url":"https://hatena.blog","type":"rich","author_name":"seinzumtode","provider_name":"Hatena Blog","height":"190","width":"100%"}