{"id":1873,"date":"2016-02-14T19:28:22","date_gmt":"2016-02-14T10:28:22","guid":{"rendered":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/?p=1873"},"modified":"2016-07-13T11:52:24","modified_gmt":"2016-07-13T02:52:24","slug":"arduino_stm32-bpb","status":"publish","type":"post","link":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2016\/02\/arduino_stm32-bpb\/","title":{"rendered":"<!--:ja-->Arduino_STM32 Blue Pill Board (BPB)<!--:--><!--:en-->Arduino_STM32 with Blue Pill Board (BPB)<!--:-->"},"content":{"rendered":"<p><!--:ja-->Arduino_STM32\u3092\u5f15\u304d\u7d9a\u304d\u8a66\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u901a\u79f0Blue Pill Board (BPB)\u3092\u8a66\u3057\u305f\u306e\u3067\u3001\u5831\u544a\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_00.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1877\" title=\"STM32_00\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_00-400x193.jpg\" alt=\"STM32_00\" width=\"400\" height=\"193\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_00-400x193.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_00.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><!--:--><!--more--><!--:ja--><\/p>\n<h2>1.Blue Pill Board\u3068\u306f<\/h2>\n<p>Blue Pill Board\u306fSTM32F103C8T6\u3092\u4e57\u305b\u305f\u30dc\u30fc\u30c9\u3067\u3059\u3002Arduino_STM32\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u306f\u6700\u3082\u591a\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u30dc\u30fc\u30c9\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<p>Aliexpress\u3084ebay\u3067\u975e\u5e38\u306b\u5b89\u4fa1\u306b\u5165\u624b\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u308f\u305f\u3057\u306e\u8cfc\u5165\u3057\u305f\u3082\u306e\u306f\u3001<a href=\"http:\/\/ja.aliexpress.com\/item\/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-ForArduin\/32282374854.html\">\u3053\u308c<\/a>\u3067\u3059\u3002\u4e00\u679a$2.45\u3067\u3001\u30d4\u30f3\u30d8\u30c3\u30c0\u30fc\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002\u65e5\u672c\u3078\u306e\u9001\u6599\u3082\u7121\u6599\u3067\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_01.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1883\" title=\"STM32_01\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_01-400x300.jpg\" alt=\"STM32_01\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_01-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_01.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u696d\u8005\u306b\u3088\u3063\u3066\u3044\u304f\u3064\u304b\u30ed\u30c3\u30c8\u9055\u3044\uff08\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff09\u304c\u3042\u308b\u3088\u3046\u3067\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u305d\u306e\u307e\u307e\u9069\u7528\u3067\u304d\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\uff08\u30d5\u30e9\u30c3\u30b7\u30e5\u306f64K, \u30e1\u30e2\u30ea\u306f20K\u3067\u3059\u304c\u3001\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30c1\u30c3\u30d7\u306e\u7570\u306a\u308b\u3082\u306e\u3082\u3042\u308b\u3088\u3046\u3067\u3059\uff09<\/p>\n<p>\u3053\u306e\u30da\u30fc\u30b8\u306b\u66f8\u3044\u3066\u3042\u308b\u65b9\u6cd5\u306f\u3001Roger Clark\u6c0f\u306e\u30da\u30fc\u30b8\uff08<a href=\"https:\/\/github.com\/rogerclarkmelbourne\/Arduino_STM32\/wiki\/Programming-an-STM32F103XXX-with-a-generic-%22ST-Link-V2%22-programmer-from-Linux\">\u3053\u3053\uff09<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>2. \u5fc5\u8981\u306a\u3082\u306e<\/h2>\n<ul>\n<li>Blue Pill Board (BPB)<\/li>\n<li>ST-Link V2\u4e92\u63db\u30a2\u30c0\u30d7\u30bf\u30fc<\/li>\n<li>\u30c1\u30c3\u30d7\u62b5\u6297\u3000 1.5K\u30aa\u30fc\u30e0\uff081608\u30b5\u30a4\u30ba\uff09<\/li>\n<li>Micro-USB\u30b1\u30fc\u30d6\u30eb<\/li>\n<\/ul>\n<p>\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306e\u66f8\u304d\u8fbc\u307f\u306b\u306f\u3001\u8907\u6570\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u6a19\u6e96\u7684\u306aST-LinkV2\u4e92\u63db\u306e\u66f8\u304d\u8fbc\u307f\u5668\u3092\u8a66\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u524d\u56de\u4f7f\u3063\u305fJTAG\u30a2\u30c0\u30d7\u30bf\u3088\u308a\u5b89\u4fa1\u3067\u7c21\u5358\u3067\u30aa\u30b9\u30b9\u30e1\u306e\u65b9\u6cd5\u3067\u3059\u3002\u5fc5\u8981\u306a\u30b8\u30e3\u30f3\u30d1\u30fc\u7dda\u3082\u4ed8\u3044\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_04.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1880\" title=\"STM32_04\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_04-400x300.jpg\" alt=\"STM32_04\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_04-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_04.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Aliexpress\u3067<a href=\"http:\/\/ja.aliexpress.com\/item\/Hot-Sale-1PCS-ST-LINK-Stlink-ST-Link-V2-Mini-STM8-STM32-Simulator-Download-Programmer-Programming\/32479881879.html\">\u5b89\u4fa1\u306b\u8cfc\u5165\u3057\u307e\u3057\u305f<\/a>\u3002<\/p>\n<h2>3. \u6e96\u5099<\/h2>\n<p>Blue Pill Board\u306f\u4e00\u90e8\u6539\u9020\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>R10\u306f10K\u30aa\u30fc\u30e0\u306e\u62b5\u6297\u304c\u4ed8\u3044\u3066\u3044\u307e\u3059\u3002Arduino_STM32\u306e\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u3092\u4f7f\u3044USB\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3059\u308b\u305f\u3081\u306b\u30011.5K\u30aa\u30fc\u30e0\u306b\u8cbc\u308a\u66ff\u3048\u307e\u3059\u3002<\/p>\n<p>\u4e01\u5be7\u306b\u62b5\u6297\u3092\u5265\u304c\u3057\u3066\u3001\u65b0\u3057\u3044\u62b5\u6297\u3092\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002\u534a\u7530\u3054\u3066\u3092\uff12\u672c\u4f7f\u3063\u3066\u3001\u4e21\u5074\u306e\u7aef\u5b50\u3092\u540c\u6642\u306b\u6e29\u3081\u308b\u3068\u3044\u3046\u6280\u3082\u3042\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_02.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1878\" title=\"STM32_02\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_02-400x264.jpg\" alt=\"STM32_02\" width=\"400\" height=\"264\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_02-400x264.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_02.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u30ed\u30c3\u30c8\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u3057\u305f\u30dc\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u6539\u9020\u306a\u3057\u3067\u52d5\u4f5c\u3059\u308b\u5834\u5408\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002(2016\/07\/11\u8ffd\u8a18)<\/p>\n<h2>4. \u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306e\u66f8\u304d\u8fbc\u307f<\/h2>\n<p>STM32duino-bootloader\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001OSX\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p>(1) github\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>https:\/\/github.com\/rogerclarkmelbourne\/STM32duino-bootloader<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u4f7f\u3044\u307e\u3059\u3002Blue Pill Board\u306e\u5834\u5408\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>STM32F1\/binaries\/generic_boot20_pc13.bin<\/p>\n<p>(2) OpenOCD\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u308f\u305f\u3057\u306f\u3001MacPorts\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002OpenOCD 0.9.0\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>(3) ST-Link V2\u4e92\u63db\u30a2\u30c0\u30d7\u30bf\u30fc\u3068\u57fa\u677f\u3092\u3064\u306a\u304e\u307e\u3059<\/p>\n<p>4\u672c\u306e\u307f\u7d50\u7dda\u3057\u307e\u3059\u3002ST-LINK\u30a2\u30c0\u30d7\u30bf\u306f\u3001\u4e0b\u306e\u6bb5\u306e\u30d4\u30f3\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>\u5199\u771f\u306e\u7dda\u306e\u8272<\/td>\n<td>ST-LINK\u306e\u30d4\u30f3<\/td>\n<td>Blue Pill Board\u5074\u306e\u63a5\u7d9a<\/td>\n<\/tr>\n<tr>\n<td>\u30aa\u30ec\u30f3\u30b8<\/td>\n<td>SWDIO<\/td>\n<td>IO (2\u30d4\u30f3)<\/td>\n<\/tr>\n<tr>\n<td>\u8336\u8272<\/td>\n<td>GND<\/td>\n<td>GND (1\u30d4\u30f3)<\/td>\n<\/tr>\n<tr>\n<td>\u8d64<\/td>\n<td>SWCLK<\/td>\n<td>CLK (3\u30d4\u30f3)<\/td>\n<\/tr>\n<tr>\n<td>\u9ec4\u8272<\/td>\n<td>3.3V<\/td>\n<td>3.3 (4\u30d4\u30f3)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_05.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1881\" title=\"STM32_05\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_05-400x300.jpg\" alt=\"STM32_05\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_05-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_05.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><br class=\"_mce_marker\" \/><\/p>\n<p>(4) OpenOCD\u3092\u4f7f\u3063\u3066\u3001\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<p>OpenOCD\uff08\u30b5\u30fc\u30d0\uff09\u306e\u8d77\u52d5<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\r\n$ openocd -f \/opt\/local\/share\/openocd\/scripts\/interface\/stlink-v2.cfg -f \/opt\/local\/share\/openocd\/scripts\/target\/stm32f1x.cfg\r\nOpen On-Chip Debugger 0.9.0 (2015-06-03-11:38)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n http:\/\/openocd.org\/doc\/doxygen\/bugs.html\r\nInfo : auto-selecting first available session transport &quot;hla_swd&quot;. To override use 'transport select &lt;transport&gt;'.\r\nInfo : The selected transport took over low-level target control. The results might differ compared to plain JTAG\/SWD\r\nadapter speed: 1000 kHz\r\nadapter_nsrst_delay: 100\r\nnone separate\r\nInfo : Unable to match requested speed 1000 kHz, using 950 kHz\r\nInfo : Unable to match requested speed 1000 kHz, using 950 kHz\r\nInfo : clock speed 950 kHz\r\nInfo : STLINK v2 JTAG v17 API v2 SWIM v4 VID 0x0483 PID 0x3748\r\nInfo : using stlink api v2\r\nInfo : Target voltage: 3.327458\r\nInfo : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints\r\n\r\n \u203b\u3053\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306f\u3001\u4f5c\u696d\u304c\u7d42\u308f\u308b\u307e\u3067\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\r\n\r\n<\/pre>\n<p>\u5225\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u3001telnet\u3067OpenOCD\u306b\u63a5\u7d9a\u3057\u3066\u66f8\u304d\u8fbc\u307f\u3092\u884c\u3046<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\r\n$ telnet localhost 4444\r\nTrying ::1...\r\ntelnet: connect to address ::1: Connection refused\r\nTrying 127.0.0.1...\r\nConnected to localhost.\r\nEscape character is '^]'.\r\nOpen On-Chip Debugger\r\n&gt; reset halt\r\ntarget state: halted\r\ntarget halted due to debug-request, current mode: Thread\r\nxPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc\r\n&gt; flash write_image erase generic_boot20_pc13.bin 0x8000000\r\nauto erase enabled\r\ndevice id = 0x20036410\r\nflash size = 64kbytes\r\ntarget state: halted\r\ntarget halted due to breakpoint, current mode: Thread\r\nxPSR: 0x61000000 pc: 0x2000003a msp: 0xfffffffc\r\nwrote 7168 bytes from file generic_boot20_pc13.bin in 0.713042s (9.817 KiB\/s)\r\n&gt; reset run\r\n\r\n \u203b\u66f8\u304d\u8fbc\u307f\u306f\u4ee5\u4e0a\u3067\u3059\u3002exit\u3057\u3066\u7d42\u4e86\u3057\u3001\u30a2\u30c0\u30d7\u30bf\u30fc\u3092USB\u7aef\u5b50\u304b\u3089\u629c\u304d\u307e\u3059\u3002\r\n\r\n<\/pre>\n<p>(5) \u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306e\u78ba\u8a8d<\/p>\n<p>USB\u30b1\u30fc\u30d6\u30eb\u3067\u3001Blue Pill Board\u3092\u30d1\u30bd\u30b3\u30f3\u3068\u3064\u306a\u304e\u307e\u3059\u3002OSX\u306e\u5834\u5408\u306b\u306f\u3001\u300c\u30b7\u30b9\u30c6\u30e0\u60c5\u5831\u300d\u306eUSB\u30c7\u30d0\u30a4\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/OSX-Maple.png\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1901\" title=\"OSX-Maple\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/OSX-Maple-340x300.png\" alt=\"OSX-Maple\" width=\"340\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/OSX-Maple-340x300.png 340w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/OSX-Maple.png 676w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/a><\/p>\n<p>Maple 003\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<h2>5. Arduino\u304b\u3089\u306e\u66f8\u304d\u8fbc\u307f<\/h2>\n<p>\u5c0e\u5165\u6e08\u307f\u306eArduino_STM32\u304b\u3089\u66f8\u304d\u8fbc\u307f\u3092\u3057\u3066\u307f\u307e\u3059\u3002\uff08\u5c0e\u5165\u65b9\u6cd5\u306f<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2016\/01\/arduino_stm32\/\">\u524d\u8a18\u4e8b<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff09<\/p>\n<p>(1) \u30dc\u30fc\u30c9\u306e\u9078\u629e<\/p>\n<p>\u4ee5\u4e0b\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30dc\u30fc\u30c9\uff1a&#8221;GENERIC_STM32F103R series&#8221;<\/p>\n<p>Valiant: &#8220;STM32F103R8 (20kRAM, 64kFlash)<\/p>\n<p>Upload method: &#8220;STM32duino bootloader&#8221;<\/p>\n<p>\u9593\u9055\u3048\u308b\u3068\u3001\u66f8\u304d\u8fbc\u3081\u3066\u3082\u6b63\u3057\u304f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>(2) \u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<p>\u3068\u308a\u3042\u3048\u305aL\u30c1\u30ab\u3057\u3066\u307f\u307e\u3059\u3002\u30dc\u30fc\u30c9\u306eLED\u306fPC13\u306a\u306e\u3067\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#define LED PC13\r\n\r\n\/\/ the setup function runs once when you press reset or power the board\r\nvoid setup() {\r\n \/\/ initialize digital pin LED as an output.\r\n pinMode(LED, OUTPUT);\r\n}\r\n\r\n\/\/ the loop function runs over and over again forever\r\nvoid loop() {\r\n digitalWrite(LED, HIGH);\u00a0\u00a0 \/\/ turn the LED on (HIGH is the voltage level)\r\n delay(500);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ wait for 1\/2 second\r\n digitalWrite(LED, LOW);\u00a0\u00a0\u00a0 \/\/ turn the LED off by making the voltage LOW\r\n delay(500);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ wait for 1\/2 second\r\n}\r\n<\/pre>\n<p>(3) \u66f8\u304d\u8fbc\u307f<\/p>\n<p>\u30ea\u30bb\u30c3\u30c8\u3092\u3059\u308b\u3068\u3001\u7d04\uff12\u79d2\u9593\u3060\u3051\u66f8\u304d\u8fbc\u307f\u30e2\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u30bf\u30a4\u30df\u30f3\u30b0\u3088\u304f\u30dc\u30fc\u30c9\u5074\u306e\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>6. ILI9341\u6db2\u6676\u306e\u30c6\u30b9\u30c8<\/h2>\n<p>QVGA\u306e\u6db2\u6676\u30d1\u30cd\u30eb\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_06.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-1882\" title=\"STM32_06\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_06-400x300.jpg\" alt=\"STM32_06\" width=\"400\" height=\"300\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_06-400x300.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2016\/02\/STM32_06.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u8a73\u3057\u304f\u306f\u3001\u307e\u305f\u5225\u306e\u6a5f\u4f1a\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>(\u4e86)<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Arduino_STM32\u3092\u5f15\u304d\u7d9a\u304d\u8a66\u3057\u3066\u3044\u307e\u3059\u3002 \u901a\u79f0Blue Pill Board (BPB)\u3092\u8a66\u3057\u305f\u306e\u3067\u3001\u5831\u544a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,17],"tags":[],"_links":{"self":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1873"}],"collection":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/comments?post=1873"}],"version-history":[{"count":35,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1873\/revisions"}],"predecessor-version":[{"id":1913,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1873\/revisions\/1913"}],"wp:attachment":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/media?parent=1873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/categories?post=1873"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/tags?post=1873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}