
{"id":11125,"date":"2020-02-24T18:29:53","date_gmt":"2020-02-24T09:29:53","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=11125"},"modified":"2020-05-05T09:51:54","modified_gmt":"2020-05-05T00:51:54","slug":"xd87%e3%82%ad%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e3%81%aeled%e3%82%84rgbled%e3%82%92arduino%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0%e3%81%a7%e7%82%b9%e7%81%af%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=11125","title":{"rendered":"xd87\u30ad\u30fc\u30dc\u30fc\u30c9\u306eLED\u3084RGBLED\u3092Arduino\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u70b9\u706f\u3059\u308b"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>xd87 PCB\u306e\u52d5\u4f5c\u78ba\u8a8d\u306e\u7d9a\u304d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_11127\" aria-describedby=\"caption-attachment-11127\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/967ccbe400a5efb05c198e5482dcc854.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11127\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/967ccbe400a5efb05c198e5482dcc854-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11127\" class=\"wp-caption-text\">xd87 BGLED\u306e\u30c6\u30b9\u30c8<\/figcaption><\/figure>\n<p>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9LED\u3068\u30a2\u30f3\u30c0\u30fc\u30b0\u30ed\u30fc\u7528RGB LED\u306e\u52d5\u4f5c\u3092\u3001Arduino IDE\u3067\u66f8\u3044\u305f\u30b9\u30b1\u30c3\u30c1\u3067\u78ba\u8a8d\u3057\u305f\u3002<\/p>\n<p>Arduino IDE\u3067\u30d3\u30eb\u30c9 (\u691c\u8a3c\u30fb\u30b3\u30f3\u30d1\u30a4\u30eb)\u3057\u3066\u5f97\u3089\u308c\u305fhex\u30d5\u30a1\u30a4\u30eb\u3092\u3001<strong>Atmel Flip<\/strong> \u3092\u4f7f\u3063\u3066ATmega32u4\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u66f8\u304d\u8fbc\u3080\u65b9\u6cd5\u3067\u5b9f\u65bd\u3057\u305f\u3002\u30d3\u30eb\u30c9\u6642\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306f\u3001\u3053\u306ePCB\u3068\u540c\u3058ATmega32u4 (16MHz\u52d5\u4f5c)\u304c\u8f09\u3063\u3066\u3044\u308b <strong>Arduino Leonardo<\/strong> \u3068\u3057\u305f\u3002<\/p>\n<p>Arduino Leonardo\u3068xd87 PCB\u306b\u306f\u76f8\u9055\u70b9\u3082\u591a\u3044\u306e\u3067\u3001\u305d\u306e\u3042\u305f\u308a\u306b\u6c17\u3092\u3064\u3051\u306a\u304c\u3089\u3084\u3063\u305f\u3053\u3068\u3001\u308f\u304b\u3063\u305f\u3053\u3068\u306a\u3069\u3002<\/p>\n<h1>\u6700\u521d\u306fL\u30c1\u30ab\u3067<\/h1>\n<p>\u3046\u3061\u306b\u5c4a\u3044\u305fxd87 PCB\u306b\u306f\u51fa\u8377\u6642\u304b\u3089TMK\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u306e\u3067\u3001LED\u3092\u9069\u5207\u306b\u633f\u3057\u3055\u3048\u3059\u308c\u3070\u3001\u30ad\u30fc\u30ad\u30e3\u30c3\u30d7\u306e\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9LED (\u4ee5\u964d\u3001BGLED ) \u3084CapsLock\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf (\u4ee5\u964d\u3001CapsLED) \u304c\u70b9\u706f\u3059\u308b\u3053\u3068\u306f\u78ba\u8a8d\u3067\u304d\u3066\u3044\u305f\u3002\u3068\u306f\u3044\u3048\u3001\u305b\u3063\u304b\u304f\u56de\u8def\u3082\u308f\u304b\u3063\u305f\u306e\u3067\u81ea\u524d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3082\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3068\u3057\u3001\u307e\u305a\u306fLED\u3092\u30c1\u30ab\u30c1\u30ab\u3055\u305b\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h2>BGLED\u3092\u30c1\u30ab\u30c1\u30ab\u3055\u305b\u308b<\/h2>\n<p>\u524d\u56de\u66f8\u3044\u305f\u3088\u3046\u306b\u3001BGLED\u306e\u70b9\u706f\u56de\u8def\u306f\u304a\u305d\u3089\u304f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<figure id=\"attachment_11031\" aria-describedby=\"caption-attachment-11031\" style=\"width: 440px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/bgled1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11031 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/bgled1.png\" alt=\"\" width=\"440\" height=\"188\" \/><\/a><figcaption id=\"caption-attachment-11031\" class=\"wp-caption-text\">Key Switch LED<\/figcaption><\/figure>\n<p>\u3059\u3079\u3066\u306e\u30ad\u30fc\u30b9\u30a4\u30c3\u30c1\u4f4d\u7f6e\u306b\u3042\u308bBGLED\u306f\u3001PD0\u3092\u51fa\u529b\u65b9\u5411\u3068\u3057\u3001\u30ed\u30b8\u30c3\u30afL\u3092\u4e0e\u3048\u308c\u3070\u70b9\u706f\u3057\u30ed\u30b8\u30c3\u30afH\u3067\u6d88\u706f\u3059\u308b\u306f\u305a\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001Arduino\u3067\u66f8\u3044\u3066\u307f\u305f\u3002<\/p>\n<p>\u307e\u305a\u3001Arduino\u6d41\u3067\u306fBGLED\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306ePD0\u306f\u30c7\u30b8\u30bf\u30eb\u30dd\u30fc\u30c83 (D3) \u306a\u306e\u3067\u5bfe\u8c61\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3068\u3057\u30663\u3092\u4f7f\u3046\u3002\u30de\u30a4\u30b3\u30f3(ATmega32u4) \u306e\u30dd\u30fc\u30c8\u3068\u3001Arduino\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3059\u308b\u969b\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3068\u306e\u95a2\u4fc2\u306f pins_arduino.h \u3067\u78ba\u8a8d\u3067\u304d\u308b\u3002\u30b9\u30b1\u30c3\u30c1\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \">\/\/ bg_ledtest1.ino\r\nvoid setup() {\r\n  pinMode(3, OUTPUT);\r\n}\r\nvoid loop() {\r\n  digitalWrite(3, LOW);\r\n  delay(800);\r\n  digitalWrite(3, HIGH);\r\n  delay(400);\r\n}<\/pre>\n<p>HIGH\u306b\u3057\u305f\u5f8c\u3068LOW\u306b\u3057\u305f\u5f8c\u306edelay() \u6642\u9593\u3092\u5909\u3048\u3066\u3042\u308b\u306e\u306f\u3001\u3069\u3061\u3089\u306e\u8ad6\u7406\u306e\u3068\u304d\u306b\u70b9\u706f\u3059\u308b\u306e\u304b\u3092\u306f\u3063\u304d\u308a\u3055\u305b\u308b\u305f\u3081\u3067\u3001\u70b9\u706f\u3057\u3066\u3044\u308b\u6642\u9593\u306e\u65b9\u304c\u9577\u304f\u306a\u308b\u306f\u305a\u3002<\/p>\n<p>Arduino IDE (1.8.10\u7248)\u306e<strong>\u30c4\u30fc\u30eb\uff0f\u30dc\u30fc\u30c9<\/strong>\u304c <strong>Arduino Leonardo<\/strong> \u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3001<strong>\u30b9\u30b1\u30c3\u30c1\uff0f\u691c\u8a3c\u30fb\u30b3\u30f3\u30d1\u30a4\u30eb<\/strong>\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306eTemp\u30d5\u30a9\u30eb\u30c0\u306e\u3069\u3053\u304b\u306b\u3001\u30d3\u30eb\u30c9\u7d50\u679c (.elf, .hex\u306a\u3069) \u304c\u4f5c\u6210\u3055\u308c\u308b\u3002<a href=\"#AtmelFlip\">\u5f8c\u8ff0\u3059\u308bAtmel Flip\u306e\u4f7f\u3044\u65b9<\/a>\u306b\u3057\u305f\u304c\u3063\u3066hex\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3093\u3060\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u306e\u52d5\u753b\u306e\u3088\u3046\u306b\u70b9\u6ec5\u3092\u958b\u59cb\u3057\u305f\u3002<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/iBo8e8KuT_Q\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p>\u6d88\u3048\u3066\u3044\u308b\u6642\u9593\u3088\u308a\u3082\u70b9\u706f\u3057\u3066\u3044\u308b\u6642\u9593\u306e\u65b9\u304c\u9577\u3044\u306e\u306f\u9593\u9055\u3044\u306a\u3044\u3002<\/p>\n<p>Windows\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u30a2\u30ca\u30ed\u30b0\u6642\u8a08\u306e\u30a2\u30d7\u30ea\u3092\u8868\u793a\u3057\u3001\u305d\u306e\u524d\u306bxd87 PCB\u3092\u7f6e\u3044\u3066\u64ae\u5f71\u3057\u305f\u3002\u4eca\u56de\u4f7f\u3063\u305fLED\u306f\u3001<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gI-12689\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d7\u30c8\u30b5\u30d7\u30e9\u30a4\u793e\u306eOSB5DL3E34B<\/a> \u3068\u3044\u3046\u5c0f\u96fb\u6d41\u3067\u3082\u6bd4\u8f03\u7684\u9ad8\u8f1d\u5ea6\u306a\u88fd\u54c1\u3002<\/p>\n<h3>\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u306b\u6ce8\u610f<\/h3>\n<p>\u305f\u3060\u3001\u3069\u3046\u3082\u60f3\u5b9a\u3057\u3066\u3044\u305f\u3088\u308a\u70b9\u6ec5\u304c\u9045\u3044\u3002\u70b9\u706f\u6642\u95930.8\u79d2\u304c\u7d046\u79d2\u3001\u6d88\u706f\u6642\u9593\u30820.4\u79d2\u304c\u7d043\u79d2\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002\u3064\u307e\u308a\u7d048\u500d\u9045\u3044\u3002AVR\u30de\u30a4\u30b3\u30f3\u3067<strong>8\u500d<\/strong>\u3068\u3044\u3046\u6570\u5b57\u3092\u898b\u305f\u3089\u3001<strong>\u30d2\u30e5\u30fc\u30ba\u306eCLKDIV8\u30d3\u30c3\u30c8<\/strong>\u3084<strong>\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u30ec\u30b8\u30b9\u30bf (CLKPR)<\/strong> \u3092\u601d\u3044\u51fa\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<\/p>\n<p>ATmega32u4\u306e\u51fa\u8377\u72b6\u614b\u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u30bd\u30fc\u30b9\u3068\u3057\u3066\u4f4e\u96fb\u529b\u30af\u30ea\u30b9\u30bf\u30eb\u30aa\u30b7\u30ec\u30fc\u30bf (Low Power Crystal Oscillator) \u304c\u9078\u629e\u3055\u308c\u3001\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u306e\u9664\u6570\u3068\u3057\u30668\u304c\u9078\u629e\u3055\u308c\u308b\u3088\u3046\u30ed\u30fc\u30d0\u30a4\u30c8\u30d2\u30e5\u30fc\u30ba (Fuse Low byte) \u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u30de\u30a4\u30b3\u30f3\u306b\u63a5\u7d9a\u3055\u308c\u305f\u767a\u632f\u6e90 (\u6c34\u6676\u3068\u304b)\u306e\u5468\u6ce2\u6570\u304c16MHz\u306a\u3089\u3070\u3001CPU\u3084I\/O\u306e\u305f\u3081\u306e\u5185\u90e8\u30af\u30ed\u30c3\u30af\u5468\u6ce2\u6570\u306f8\u3067\u5272\u3063\u305f2MHz\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3002\u5185\u90e8\u30af\u30ed\u30c3\u30af\u304c16MHz\u306b\u306a\u308b\u3088\u3046\u3001setup() \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true\">void setup() {\r\n  CLKPR = 0x80;\r\n  CLKPR = 0;\r\n  pinMode(3, OUTPUT);\r\n}<\/pre>\n<p>CLKPR\u306b0\u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3067\u3001\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u30921\/1 \u306b\u5909\u66f4\u3057\u3066\u3044\u308b\u3002CLKPR\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u307e\u305a\u30d3\u30c3\u30c87\u3092\u30bb\u30c3\u30c8\u3057\u3001\u6b21\u306b\u30d3\u30c3\u30c87\u3092\u30af\u30ea\u30a2\u3059\u308b\u3068\u5171\u306b\u30d7\u30ea\u30b9\u30b1\u30fc\u30eb\u5024 (\u30d3\u30c3\u30c83\uff5e\u30d3\u30c3\u30c80)\u3092\u4e0e\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>3\u5206\u9593\u3067\u4fee\u6b63\u3057\u3066\u30d5\u30e9\u30c3\u30b7\u30e5\u306b\u66f8\u304d\u8fbc\u3093\u3060\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u610f\u56f3\u901a\u308a\u306b\u70b9\u6ec5\u3057\u305f\u3002<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/kfY2ibM_5SM\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>LED\u306e\u70b9\u706f\uff0f\u6d88\u706f\u6642\u9593\u304c8\u500d\u9577\u3044\u306e\u306f\u3001CPU\u306e\u547d\u4ee4\u5b9f\u884c\u6642\u95938\u500d\u9045\u3044\u305b\u3044\u3067\u306f\u306a\u304f\u3001Arduino Leonardo\u7528\u306b\u30d3\u30eb\u30c9\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u8a08\u6642\u306e\u305f\u3081\u306e\u30bf\u30a4\u30de\u30fc\uff0f\u30ab\u30a6\u30f3\u30bf\u30fc\u304c\u3001\u5185\u90e8\u30af\u30ed\u30c3\u30af16MHz\u3092\u524d\u63d0\u3068\u3057\u3066\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3002\u305f\u3068\u3048\u3070\u300116\u3068\u3044\u3046\u6574\u6570\u304b\u3089\u30011\/16\u79d2\u3054\u3068\u306b1\u5f15\u3044\u3066\u3044\u3063\u305f\u30891\u79d2\u9593\u30670\u306b\u306a\u308b\u304c\u30011\/2\u79d2\u3054\u3068\u306b1\u5f15\u304f\u306e\u3067\u306f\u30010\u306b\u306a\u308b\u307e\u30678\u79d2\u9593\u304b\u304b\u308b\u3002<\/p>\n<p>xd87\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Arduino\u306b\u898b\u7acb\u3066\u3066\u66f8\u304f\u3068\u304d\u3001CLKPR\u3092\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u304b\u3001\u30ed\u30fc\u30d0\u30a4\u30c8\u30d2\u30e5\u30fc\u30ba\u306eCLKDIV8\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n<h2>CapsLock\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u306eL\u30c1\u30ab<\/h2>\n<p>\u6b21\u306fCapsLED\u3067\u306eL\u30c1\u30ab\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56de\u8def\u3092\u524d\u63d0\u306b\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u3044\u3066\u307f\u305f\u3002<\/p>\n<figure id=\"attachment_11440\" aria-describedby=\"caption-attachment-11440\" style=\"width: 249px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/capsled-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11440 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/capsled-1.png\" alt=\"\" width=\"249\" height=\"126\" \/><\/a><figcaption id=\"caption-attachment-11440\" class=\"wp-caption-text\">xd87 CapLock \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf<\/figcaption><\/figure>\n<p>\u3053\u3061\u3089\u306fPE2\u30dd\u30fc\u30c8\u3092\u51fa\u529b\u65b9\u5411\u3068\u3057\u3001LOW\u3092\u4e0e\u3048\u308c\u3070\u70b9\u706f\u3059\u308b\u306f\u305a\u3067\u3042\u308b\u3002\u305f\u3060\u3001Arduino Leonardo\u3067\u306fPE2\u306fGND\u306b\u76f4\u7d50\u3055\u308c\u3066\u304a\u308a\u3001\u30c7\u30b8\u30bf\u30eb\u30dd\u30fc\u30c8\u306e\u756a\u53f7\u304c\u4e0e\u3048\u3089\u308c\u3066\u3044\u306a\u3044\u304b\u3089\u3001BGLED\u3068\u540c\u3058\u65b9\u6cd5\u306f\u4f7f\u3048\u306a\u3044\u3002\u305d\u306e\u305f\u3081\u3001BGLED\u3082\u3042\u308f\u305b\u3066\u30dd\u30fc\u30c8\u3092\u76f4\u63a5\u64cd\u4f5c\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true\">\/\/ bg_caps_led_test1.ino\r\nvoid setup() {\r\n  cli();\r\n  CLKPR = 0x80;\r\n  CLKPR = 0;\r\n  DDRD = _BV(PIND0);\r\n  DDRE = _BV(PINE2);\r\n  sei();\r\n}\r\nvoid loop() {\r\n  PORTD &amp;= ~_BV(PIND0);\r\n  PORTE |= _BV(PINE2);\r\n  delay(800);\r\n  PORTD |= _BV(PIND0);\r\n  PORTE &amp;= ~_BV(PINE2);\r\n  delay(400);\r\n}<\/pre>\n<p>PD0 (BGLED)\u3068PE2 (CapsLED)\u3092\u51fa\u529b\u65b9\u5411\u3068\u3057\u3001\u4ea4\u4e92\u306b\u70b9\u706f\uff0f\u6d88\u706f\u3055\u305b\u308b\u3002BGLED\u306e\u65b9\u304c\u9577\u304f\u5149\u308c\u3070\u3088\u3044\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/wmUPxYJaklk\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/>\nCapsLED\u304c\u8d64 (OSR5PA3E34B) \u3001BGLED\u304c\u9752 (OSB5DL3E34B)\u3002\u3044\u305a\u308c\u3082\u610f\u56f3\u901a\u308a\u306b\u70b9\u6ec5\u3057\u3066\u304f\u308c\u305f\u3002<\/p>\n<p>(\u6700\u521d\u306e\u6295\u7a3f\u6642\u3001CapsLock \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u306e\u56de\u8def\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u306e\u3067\u8a02\u6b63\u3057\u307e\u3057\u305f)\u3002<\/p>\n<h1>\u30a2\u30f3\u30c0\u30fc\u30b0\u30ed\u30fc\u7528RGB LED\u306e\u70b9\u706f<\/h1>\n<figure id=\"attachment_11156\" aria-describedby=\"caption-attachment-11156\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/a58f0f635ecd93a42e9c24b37423a176.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11156\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/a58f0f635ecd93a42e9c24b37423a176-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11156\" class=\"wp-caption-text\">xd87 PCB\u306eWS2812<\/figcaption><\/figure>\n<p>\u3046\u3061\u306b\u6765\u305fxd87 PCB\u306f\u3001\u51fa\u8377\u6642\u306b\u30a2\u30f3\u30c0\u30fc\u30b0\u30ed\u30fc\u7528\u306eRGBLED ( \u304a\u305d\u3089\u304fWorldsemi\u793e\u306eWS2812 )\u304c14\u500b\u5b9f\u88c5\u3055\u308c\u3066\u3044\u305f\u3002\u305d\u3057\u3066\u3001\u51fa\u8377\u6642\u306b\u66f8\u304d\u8fbc\u307e\u308c\u3066\u3044\u305f\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306b\u3088\u308aPC\u306eUSB\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u3068\u70b9\u706f\u3082\u3057\u3066\u3044\u305f\u304c\u3001\u81ea\u524d\u306e\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30d5\u30e9\u30c3\u30b7\u30e5\u306b\u66f8\u304d\u8fbc\u3093\u3067\u304b\u3089\u306f\u3001\u5f53\u7136\u306e\u3053\u3068\u3060\u3051\u3069\u70b9\u706f\u3057\u306a\u304f\u306a\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_11030\" aria-describedby=\"caption-attachment-11030\" style=\"width: 325px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/RGBLED1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11030 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/RGBLED1.png\" alt=\"\" width=\"325\" height=\"155\" \/><\/a><figcaption id=\"caption-attachment-11030\" class=\"wp-caption-text\">RGBLED<\/figcaption><\/figure>\n<p>\u304a\u305d\u3089\u304f\u56de\u8def\u306f\u3053\u3093\u306a\u5177\u5408\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001PB7\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u6240\u5b9a\u306e\u5f62\u5f0f\u3001\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u9001\u308a\u8fbc\u3081\u3070\u3088\u3044\u3060\u308d\u3046\u3002\u305f\u3060\u3001800kHz\u307b\u3069\u306e\u6ce2\u5f62\u30c7\u30fc\u30bf\u3092\u8272\u306b\u5fdc\u3058\u3066\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3084\u691c\u8a3c\u304c\u5384\u4ecb\u305d\u3046\u3067\u3042\u308b\u3002\u4e16\u306e\u4e2d\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<a href=\"http:\/\/www.world-semi.com\/DownLoadFile\/108\" target=\"_blank\" rel=\"noopener noreferrer\">WS2812B\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a>\u3002<\/p>\n<h2>light_ws2812\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528<\/h2>\n<p>ws2812\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u3088\u3046\u3060\u304c\u3001\u3068\u3066\u3082\u30b3\u30f3\u30d1\u30af\u30c8\u306a <a href=\"https:\/\/github.com\/cpldcpu\/light_ws2812\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>light_ws2812 \u30e9\u30a4\u30d6\u30e9\u30ea<\/strong> (V2.4)<\/a>\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u305f (\u30ea\u30f3\u30af\u5148\u306fGitHub)\u3002GitHub\u304b\u3089<strong>light_ws2812_master<\/strong> \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u308b\u3068\u3001\u305d\u306e\u4e2d\u306b\u306fArduino\u7528\u30018\u30d3\u30c3\u30c8AVR\u6c4e\u7528\u3001ARM\u7528\u306a\u3069\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u308b\u3002\u4eca\u56de\u306f\u30018\u30d3\u30c3\u30c8AVR\u6c4e\u7528\u306e<strong>C\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u7248 (light_ws2812_AVR) \u3092\u4f7f\u3046<\/strong>\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>Arduino\u7248\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3089\u3070\u3001zip\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066 <strong>\u30b9\u30b1\u30c3\u30c1\uff0f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\uff0f.ZIP\u5f62\u5f0f\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong> \u306b\u3088\u3063\u3066Arduino IDE\u306b\u7d44\u307f\u8fbc\u307f\u3001\u30b9\u30b1\u30c3\u30c1\u306b<strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9<\/strong> \u3057\u3066\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u305f\u3060\u3001Arduino\u7248\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u3001RGBLED\u7528\u306e\u30dd\u30fc\u30c8\u6307\u5b9a\u304cArduino\u6d41\u306e\u30c7\u30b8\u30bf\u30eb\u30dd\u30fc\u30c8\u756a\u53f7\u6307\u5b9a\u306b\u306a\u3063\u3066\u3044\u308b\u3002Arduino\u306e\u5404\u7a2e\u958b\u767a\u30dc\u30fc\u30c9\u3067\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u306f\u3044\u3044\u306e\u3060\u3051\u3069\u3001\u4eca\u56de\u306e\u3088\u3046\u306b\u7d20\u306eATmega32u4\u3092Arduino\u306b\u898b\u7acb\u3066\u3066\u4f7f\u3046\u969b\u306b\u306f\u3061\u3087\u3063\u3068\u305d\u3050\u308f\u306a\u3044\u304b\u306a\u3068\u611f\u3058\u3066C\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u7248\u3092\u9078\u629e\u3057\u305f\u3002<\/p>\n<h3>light_ws2812\u306e\u7d44\u307f\u8fbc\u307f<\/h3>\n<p>\u4f7f\u3044\u65b9\u306f\u7c21\u5358\u3067\u3001Arduino\u306e\u30b9\u30b1\u30c3\u30c1\u306e\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u306bAVR\u7528\u306elight_ws2812.c\u3068light_ws2812.h\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308c\u3070\u3088\u3044\u3002\u305d\u3057\u3066\u30b9\u30b1\u30c3\u30c1\u306e\u6700\u521d\u306e\u65b9\u3067\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">extern \"C\" {\r\n#include \"light_ws2812.h\"\r\n}\r\n<\/pre>\n<p>C\u30a4\u30f3\u30d5\u30a7\u30fc\u30b9\u306a\u306e\u3067\u3001<em>extern &#8220;C&#8221; { }<\/em> \u304c\u5fc5\u8981\u306a\u3053\u3068\u306b\u6ce8\u610f\u3002\u30c7\u30fc\u30bf\u51fa\u529b\u306b\u4f7f\u3046\u30dd\u30fc\u30c8\u306f\u3001light_ws2812.h \u5185\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">#if !defined(ws2812_port)\r\n#define ws2812_port B   \/\/ Data port\r\n#endif\r\n#if !defined(ws2812_pin)\r\n#define ws2812_pin  2   \/\/ Data out pin\r\n#endif<\/pre>\n<p>light_ws2812\u306e\u5185\u90e8\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u5b9a\u7fa9\u3092\u7d50\u5408\u3057\u305f\u308a\u4ed6\u306e\u30de\u30af\u30ed\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u308a\u3057\u3066\u4f7f\u3063\u3066\u304a\u308a\u3001\u95a2\u6570\u3067\u30dd\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3059\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u306f\u3067\u304d\u306a\u3044 (\u30d4\u30f3\u756a\u53f7\u306f\u6307\u5b9a\u53ef\u80fd)\u3002xd87\u3067\u306fPB7\u304c\u30c7\u30fc\u30bf\u51fa\u529b\u30d4\u30f3\u306a\u306e\u3067\u3001\u4e0a\u8a18\u306e\u30dd\u30fc\u30c8\u5b9a\u7fa9\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u306f\u306a\u304b\u3063\u305f (\u30d4\u30f3\u756a\u53f7\u306fAPI\u3067\u76f4\u63a5\u6307\u5b9a\u3059\u308b\uff09\u3002<\/p>\n<p>\u5358\u7d14\u306b\u3059\u3079\u3066\u306eWS2812\u3092\u767d\u8272(RGB\u540c\u5024)\u3067\u70b9\u706f\u3055\u305b\u308b\u30b9\u30b1\u30c3\u30c1\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">\/\/ rgbled_test.ino\r\nextern \"C\" {\r\n#include \"light_ws2812.h\"\r\n}\r\nstatic const int16_t RGB_COUNT = 14;\r\nstatic const int16_t LED_BUFFER_SIZE = RGB_COUNT * sizeof(cRGB);\r\nuint8_t rgb_buffer[LED_BUFFER_SIZE];\r\n\r\nvoid setup() {\r\n  cli();\r\n  CLKPR = 0x80;\r\n  CLKPR = 0;\r\n  DDRD = _BV(PIND0);  \/\/ BGLED\r\n  DDRE = _BV(PINE2);  \/\/ CapsLED\r\n  DDRB |= _BV(PINB7); \/\/ RGBLED\r\n  sei();\r\n  memset(rgb_buffer,  2, sizeof(rgb_buffer));\r\n  ws2812_sendarray_mask(rgb_buffer, LED_BUFFER_SIZE, _BV(PINB7));\r\n}\r\nvoid loop() { }<\/pre>\n<p>1\u3064\u306eWS2812\u306b\u3064\u304d3\u30d0\u30a4\u30c8(RGB\u5404\u8272\u3054\u3068\u306b1\u30d0\u30a4\u30c8)\u5fc5\u8981\u3067\u3001\u70b9\u706f\u3059\u308b\u3059\u3079\u3066(RGB_COUNT \u500b)\u306b\u3064\u3044\u3066\u306e\u30c7\u30fc\u30bf\u3092LED_BUFFER_SIZE \u30d0\u30a4\u30c8\u306e\u9818\u57df\u306b\u7528\u610f\u3057\u3066\u304b\u3089\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u547c\u3073\u51fa\u3059\u3002<\/p>\n<p>WS2812\u306b\u5bfe\u3059\u308bRGB\u30c7\u30fc\u30bf\u306e\u8a2d\u5b9a\u306fws2812_sendarray_mask() \u304c\u884c\u3046\u3002\u3053\u306e\u95a2\u6570\u306e3\u756a\u76ee\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u3001xd87\u3067\u306e\u30d4\u30f3\u756a\u53f7\u4f4d\u7f6e\u3092\u30bb\u30c3\u30c8\u3057\u305f\u30d0\u30a4\u30c8\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u305f\u5f8c\u306f\u7279\u306b\u4f55\u3082\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067loop() \u306f\u7a7a\u306b\u3057\u305f\u304c\u3001loop() \u5185\u3067\u5404RGBLED\u7528\u306e\u5024\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057\u305f\u308a\u30c7\u30af\u30ea\u30e1\u30f3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u660e\u308b\u304f\u3057\u305f\u308a\u6697\u304f\u3057\u305f\u308a\u3001\u3042\u308b\u3044\u306f\u8272\u3092\u5909\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3060\u308d\u3046\u3002<\/p>\n<p>\u3053\u306e\u30b9\u30b1\u30c3\u30c1\u3067\u306fRGB\u5404\u8272\u306b\u5bfe\u3057\u3066\u63a7\u3048\u3081\u306b2\u3092\u4e0e\u3048\u3066\u304a\u308a\u3001\u305d\u306e\u69d8\u5b50\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_11155\" aria-describedby=\"caption-attachment-11155\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/c5a1535c29221cb971e9ebb24ec41e04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11155\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/c5a1535c29221cb971e9ebb24ec41e04-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11155\" class=\"wp-caption-text\">\u70b9\u706f\u4e2d\u306eWS2812B<\/figcaption><\/figure>\n<h2>\u00a0\u3082\u3046\u5c11\u3057\u6d3e\u624b\u306b\u5149\u3089\u305b\u308b<\/h2>\n<p>\u3082\u3046\u3061\u3087\u3063\u3068\u6d3e\u624b\u306a\u30b5\u30f3\u30d7\u30eb\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3044\u308d\u3044\u308d\u306a\u8272\u304c\u8d70\u308b\u3088\u3046\u306a\u30b9\u30b1\u30c3\u30c1\u3082\u66f8\u3044\u3066\u307f\u305f\u3002<\/p>\n<figure id=\"attachment_11159\" aria-describedby=\"caption-attachment-11159\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/172a87223024d1080ea8d06c060fb5c6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11159\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/172a87223024d1080ea8d06c060fb5c6-552x252.jpg\" alt=\"\" width=\"552\" height=\"252\" \/><\/a><figcaption id=\"caption-attachment-11159\" class=\"wp-caption-text\">xd87\u306ews2812<\/figcaption><\/figure>\n<p>\u6700\u521d\u306f\u3053\u306e\u5199\u771f\u306e\u3088\u3046\u306b7\u3064\u306eWS2812\u306b\u7570\u306a\u308b\u8272\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u304d\u3001\u305d\u306e\u5f8c\u4e0e\u3048\u308b\u8272\u30921\u3064\u305a\u3064\u305a\u3089\u3057\u3066\u3044\u308b\u3002<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/7f4usaHUWiE\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>\u6700\u521d\u304c\u88cf\u304b\u3089\u898b\u305f\u3068\u3053\u308d\u3001\u9014\u4e2d\u304b\u3089\u8868\u304b\u3089\u898b\u305f\u3068\u3053\u308d\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>xd87 PCB\u30ad\u30c3\u30c8\u306b\u4ed8\u5c5e\u306e\u767d\u3044\u30b1\u30fc\u30b9\u306b\u53ce\u3081\u305f\u5834\u5408\u3001\u88cf\u5074\u304b\u3089\u306f\u8272\u306f\u5206\u304b\u308b\u3060\u308d\u3046\u304c\u3055\u307b\u3069\u52b9\u679c\u7684\u3068\u3082\u601d\u3048\u306a\u3044\u3057\u3001\u8868\u304b\u3089\u898b\u305f\u3068\u304d\u3082\u3001\u73fe\u72b6\u306f\u30ad\u30fc\u30b9\u30a4\u30c3\u30c1\u7528\u306e\u7a74\u304b\u3089\u767a\u5149\u3057\u3066\u3044\u308b\u69d8\u5b50\u304c\u5206\u304b\u308b\u304c\u3001\u30b9\u30a4\u30c3\u30c1\u3092\u53d6\u308a\u4ed8\u3051\u305f\u3089\u307b\u3068\u3093\u3069\u898b\u3048\u306a\u3044\u3060\u308d\u3046\u3002\u900f\u660e\u3042\u308b\u3044\u306f\u30b9\u30e2\u30fc\u30af\u3057\u305f\u534a\u900f\u660e\u30a2\u30af\u30ea\u30eb\u30b1\u30fc\u30b9\u3067\u3082\u3042\u308b\u3068\u3044\u3044\u306e\u3060\u3051\u3069\u3002<\/p>\n<p>\u30b9\u30b1\u30c3\u30c1\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<pre class=\"height-set:true lang:default decode:true\">\/\/ rgbled_test1.ino\r\nextern \"C\" {\r\n#include \"light_ws2812.h\"\r\n}\r\n\r\nstatic const int16_t RGB_COUNT = 14;\r\nstatic const int16_t LED_BUFFER_SIZE = RGB_COUNT * sizeof(cRGB);\r\nconst cRGB colors[] = {\r\n    {100, 100, 100},\r\n    {4,   100, 255},\r\n    {100, 4, 255},\r\n    {255, 4, 100},\r\n    {255, 100, 4},\r\n    {100, 255, 4},\r\n    {4,   255, 100}\r\n};\r\nstatic const int8_t COLOR_COUNT = (int8_t)(sizeof(colors) \/ sizeof(cRGB));\r\nuint8_t rgb_buffer[LED_BUFFER_SIZE];\r\n\r\nvoid setup() {\r\n  cli();\r\n  CLKPR = 0x80;\r\n  CLKPR = 0;\r\n  DDRD = _BV(PIND0);  \/\/ BGLED\r\n  DDRE = _BV(PINE2);  \/\/ CapsLED\r\n  DDRB |= _BV(PINB7); \/\/ RGBLED\r\n  sei();\r\n\r\n  memset(rgb_buffer, 4, sizeof(rgb_buffer));  \/\/ set dimmed light to all.\r\n  for(int8_t i = 0; i &lt; COLOR_COUNT; i++)     \/\/ initial position.\r\n    memcpy(&amp;rgb_buffer[i * sizeof(cRGB)], &amp;colors[i], sizeof(cRGB));\r\n}\r\n\r\nvoid loop() {\r\n  cRGB save;\r\n  delay(70);\r\n  ws2812_sendarray_mask(rgb_buffer, LED_BUFFER_SIZE, _BV(PINB7));\r\n  memcpy(&amp;save, rgb_buffer, sizeof(cRGB));\r\n  for(int8_t i = 0; i &lt; RGB_COUNT - 1; i++) \/\/ move rgb data.\r\n    memcpy(&amp;rgb_buffer[i * sizeof(cRGB)], &amp;rgb_buffer[(i + 1) * sizeof(cRGB)], sizeof(cRGB));\r\n  memcpy(&amp;rgb_buffer[LED_BUFFER_SIZE - 3], &amp;save, sizeof(cRGB));\r\n}<\/pre>\n<p>setup() \u5185\u3067\u5148\u982d\u304b\u30897\u3064\u306eRGBLED\u306b\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u8272\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u3001loop() \u5185\u30671\u3064\u305a\u3064RGB\u30c7\u30fc\u30bf\u3092\u305a\u3089\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u30b9\u30b1\u30c3\u30c1 ( rgbled_test1.ino ) \u3092\u30d3\u30eb\u30c9\u3057\u3066\u5f97\u3089\u308c\u308brgbled_test1.elf \u3092avr-objdump.exe \u3092\u4f7f\u3063\u3066\u9006\u30a2\u30bb\u30f3\u30d6\u30eb\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001void loop() \u5185\u306b\u3042\u308b ws2812_sendarray_mask() \u306e\u547c\u3073\u51fa\u3057\u304a\u3088\u3073\u5b9f\u4f53\u306f\u30a4\u30f3\u30e9\u30a4\u30f3\u5c55\u958b\u3055\u308c\u3066\u308f\u305a\u304b60\u30d0\u30a4\u30c8\u306e\u30b3\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u305f\u3002\u306a\u304a\u3001\u5168\u4f53\u306e\u30b3\u30fc\u30c9\u30b5\u30a4\u30ba\u306f3700\u30d0\u30a4\u30c8\u307b\u3069\u3067\u3001\u5927\u90e8\u5206\u306fArduino\u306eUSB\u3084\u30b7\u30ea\u30a2\u30eb\u95a2\u9023\u306e\u30b3\u30fc\u30c9\u304c\u5360\u3081\u3066\u3044\u305f\u3002<\/p>\n<h1>\u6d88\u8cbb\u96fb\u6d41\u306b\u3064\u3044\u3066<\/h1>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u304c\u6d3e\u624b\u306b\u5149\u3063\u3066\u304f\u308c\u308b\u306e\u306f\u3044\u3044\u306e\u3060\u3051\u308c\u3069\u3001\u679c\u305f\u3057\u3066\u3069\u308c\u307b\u3069\u306e\u96fb\u6d41\u304c\u6d41\u308c\u308b\u306e\u304b\u3092USB\u96fb\u6d41\u8a08\u3067\u8abf\u3079\u3066\u307f\u305f\u3002<\/p>\n<figure id=\"attachment_11165\" aria-describedby=\"caption-attachment-11165\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/90f58bb60f727bd93a6e342340488c4a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11165\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/90f58bb60f727bd93a6e342340488c4a-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11165\" class=\"wp-caption-text\">USB\u96fb\u6d41\u8a08<\/figcaption><\/figure>\n<p>USB\u96fb\u6d41\u8a08\u306e\u5de6\u5074\u306b\u3042\u308b\u306e\u306fELECOM\u793e\u306eUSB3.0\u30bb\u30eb\u30d5\u30d1\u30ef\u30fc\u30cf\u30d6\u3067\u3001\u96fb\u6e90\u304c5.0V\u30014A\u51fa\u529b\u306eAC\u30a2\u30c0\u30d7\u30bf\u3060\u304b\u3089\u5c11\u3005\u306e\u8ca0\u8377\u306f\u554f\u984c\u306a\u3044\u3002<\/p>\n<p>\u4f55\u3082\u70b9\u706f\u3055\u305b\u306a\u3044\u72b6\u614b\u3067\u306e\u96fb\u6d41\u8a08\u306e\u8aad\u307f\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<ul>\n<li>\u30ea\u30bb\u30c3\u30c8\u3092\u304b\u3051\u3066\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u30e2\u30fc\u30c9\u3057\u305f\u5834\u5408\u306f\u7d0430mA\u3002<\/li>\n<li>\u30d3\u30eb\u30c9\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u958b\u59cb\u3059\u308b\u3068\u7d0440mA\u3002<\/li>\n<\/ul>\n<p>\u3061\u306a\u307f\u306b\u3001Pro Micro(5V\/16MHz\u7248)\u3092\u3064\u306a\u3044\u3067\u307f\u308b\u3068\u7d0430mA\u3060\u3063\u305f\u3002Pro Micro\u3067\u306f\u30d1\u30ef\u30fc\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u304c\u70b9\u706f\u3057\u3066\u3044\u308b\u3053\u3068\u3001xd87\u3067\u306f14\u500b\u306eRGBLED\u304c\u6d88\u706f\u4e2d\u3068\u306f\u3044\u3048\u96fb\u6d41\u3092\u6d88\u8cbb\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u3068\u59a5\u5f53\u306a\u6570\u5b57\u3060\u3068\u601d\u3046\u3002<\/p>\n<h3>LED\u306e\u6d88\u8cbb\u96fb\u6d41<\/h3>\n<p>\u70b9\u706f\u78ba\u8a8d\u306b\u3082\u4f7f\u3063\u305f\u9752\u8272LED\u306eOSB5DL3E34B \u306e\u4ed5\u69d8\u4e0a\u306eV<sub>F<\/sub>\u306f2.8\uff5e3.6V (@I<sub>F<\/sub>=30mA) \u3068\u66f8\u3044\u3066\u3042\u308b\uff08<a href=\"http:\/\/akizukidenshi.com\/download\/ds\/optosupply\/OSXXXX3E3XB.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a>\uff09\u3002<\/p>\n<figure id=\"attachment_11168\" aria-describedby=\"caption-attachment-11168\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/b9119b9639558693773111e83594e50a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11168\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/b9119b9639558693773111e83594e50a-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11168\" class=\"wp-caption-text\">OSB5DL3E34B 10\u672c\u5165(\u79cb\u6708\u3067\u8cfc\u5165)<\/figcaption><\/figure>\n<p>xd87 PCB\u306b\u633f\u3057\u3066\u30a2\u30ce\u30fc\u30c9\u3068\u30ab\u30bd\u30fc\u30c9\u9593\u306e\u96fb\u4f4d\u5dee\u3092\u6e2c\u3063\u305f\u3068\u3053\u308d\u3001\u304b\u306a\u308a\u96fb\u6d41\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u305b\u3044\u304b\u7d042.7V\u3060\u3063\u305f\u3002\u96fb\u6d41\u30bd\u30fc\u30b9\u3068LED\u306e\u30a2\u30ce\u30fc\u30c9\u9593\u306b\u306f330\u03a9\u306e\u96fb\u6d41\u5236\u9650\u62b5\u6297\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u3089\u3001LED\u3092\u6d41\u308c\u308b\u96fb\u6d41IF\u306f\u3001<em><strong>(5 &#8211; 2.7) \u00f7 330 \u2252 7.0mA<\/strong><\/em> \u3068\u306a\u308b\u3002\u305f\u3057\u304b\u306b\u3001LED\u3092\u4e00\u672c\u7acb\u3066\u305f\u3068\u304d\u306e\u96fb\u6d41\u8a08\u306e\u8aad\u307f\u306f7mA\u5897\u52a0\u3057\u305f\u3002\u3053\u306e\u96fb\u6d41\u8a08\u306f\u6848\u5916\u3068\u6b63\u78ba\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<figure id=\"attachment_11166\" aria-describedby=\"caption-attachment-11166\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/c5ffbfdc156cfd522f87fefe84f54c58.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11166\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/c5ffbfdc156cfd522f87fefe84f54c58-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-11166\" class=\"wp-caption-text\">xd87 BGLED<\/figcaption><\/figure>\n<p>\u3053\u3093\u306a\u611f\u3058\u306710\u500b\u7acb\u3066\u3066\u307f\u308b\u3068\u3001\u96fb\u6d41\u8a08\u306e\u8aad\u307f\u306f70mA\u5897\u52a0\u3057\u3066110mA\u307b\u3069\u306b\u306a\u3063\u305f\u3002\u8abf\u5b50\u306b\u4e57\u3063\u3066\u305f\u304f\u3055\u3093\u3064\u3051\u306a\u3044\u65b9\u304c\u826f\u3055\u305d\u3046\u3067\u3042\u308b\u3002<\/p>\n<p>xd87\u306e\u5834\u5408\u3001BGLED\u306fATmega32u4\u306ePD0 (OC0B) \u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001Timer\/Counter0 (TC0) \u30e6\u30cb\u30c3\u30c8\u3092\u4f7f\u3063\u305fPWM\u51fa\u529b\u306b\u3088\u308a\u3001\u660e\u308b\u3055\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u308a\u6d88\u8cbb\u96fb\u6d41\u3092\u6291\u3048\u305f\u308a\u3067\u304d\u308b\u306f\u305a\u3002\u305f\u3060\u3001\u4eca\u56de\u306f\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u3068\u3057\u3066\u4f7f\u3046\u306e\u3067\u691c\u8a0e\u3057\u306a\u304b\u3063\u305f\u3002<\/p>\n<h3>RGBLED\u306e\u6d88\u8cbb\u96fb\u6d41<\/h3>\n<p>rgbled_test.ino (\u3059\u3079\u3066\u306eRGBLED\u306b\u3001RGB\u540c\u5024\u3092\u4e0e\u3048\u308b)\u3092\u4f7f\u3063\u3066\u3001\u5024\u3092\u5909\u3048\u306a\u304c\u3089\u96fb\u6d41\u8a08\u306e\u8aad\u307f\u3092\u89b3\u5bdf\u3057\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u305f(BGLED\u306f\u7121\u3057\uff09\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>RGB\u5024<\/th>\n<th>\u96fb\u6d41(mA)<\/th>\n<th>1\u500b\u3042\u305f\u308a(mA)<\/th>\n<\/tr>\n<tr>\n<td>0x000000<\/td>\n<td>40<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0x202020<\/td>\n<td>78<\/td>\n<td>2.7<\/td>\n<\/tr>\n<tr>\n<td>0x404040<\/td>\n<td>142<\/td>\n<td>7.3<\/td>\n<\/tr>\n<tr>\n<td>0x808080<\/td>\n<td>264<\/td>\n<td>16.0<\/td>\n<\/tr>\n<tr>\n<td>0xffffff<\/td>\n<td>500<\/td>\n<td>32.9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>1\u500b\u3042\u305f\u308a\u306e\u96fb\u6d41\u306f\u3001(\u5168\u4f53\u306e\u96fb\u6d41 &#8211; 40)\u00f714 \u3067\u6c42\u3081\u3066\u3044\u308b\u3002<\/p>\n<p>WS2812\u306e\u6d88\u8cbb\u96fb\u6d41\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u306f\u3044\u308d\u3044\u308d\u306aweb\u30b5\u30a4\u30c8\u3084\u63b2\u793a\u677f\u304b\u3089\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u4e8b\u524d\u306b\u8aad\u3093\u3060\u60c5\u5831\u304b\u3089RGB\u30c7\u30fc\u30bf\u3068\u3057\u30660xffffff \u3092\u4e0e\u3048\u305f\u3068\u304d\u306b\u306f1\u500b\u3042\u305f\u308a50mA\u7a0b\u5ea6\u6d88\u8cbb\u3059\u308b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u4eca\u56de\u78ba\u8a8d\u3057\u305f\u9650\u308a\u3067\u306f\u6700\u5927\u306732.9mA\u306b\u306a\u3063\u305f\u3002\u96fb\u6e90\u30e9\u30a4\u30f3\u304c\u7d30\u3044\u305b\u3044\u306a\u306e\u304b\u3001\u5b9f\u306f\u4f4e\u6d88\u8cbb\u96fb\u6d41\u7248\u306a\u306e\u304b\u3001\u7406\u7531\u306f\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002<\/p>\n<p>\u5c11\u306a\u304f\u3068\u3082\u30010xffffff\u3067\u70b9\u706f\u3059\u308b\u3068USB2.0\u3067\u4fdd\u8a3c\u3055\u308c\u3066\u3044\u308b\u6700\u5927\u96fb\u6d41\u306b\u9054\u3057\u3066\u3057\u307e\u3044\u3001BGLED\u3084CapsLED\u3092\u70b9\u706f\u3059\u308b\u4f59\u88d5\u306f\u307e\u3063\u305f\u304f\u306a\u3044\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n<h3>USB\u306eCONFIG_POWER<\/h3>\n<p>USB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092PC\u306a\u3069\u306e\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3057\u305f\u3068\u304d\u3001\u30c7\u30d0\u30a4\u30b9\u306f\u30db\u30b9\u30c8\u306e\u6c42\u3081\u306b\u5fdc\u3058\u3066\u69cb\u6210\u60c5\u5831\u3092\u9001\u4fe1\u3059\u308b\u304c\u3001\u305d\u306e\u4e2d\u306b\u306f\u6d88\u8cbb\u96fb\u6d41\u306b\u95a2\u3059\u308b\u9805\u76ee\u3082\u542b\u307e\u308c\u3066\u3044\u308b\uff08\u3053\u3053\u3067\u306f\u3001<strong>CONFIG_POWER<\/strong>\u3068\u8868\u73fe\u3059\u308b\uff09\u3002<\/p>\n<p>PC\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308bUSB\u30c7\u30d0\u30a4\u30b9\u306e\u69cb\u6210\u60c5\u5831 (Configuration Descriptor) \u3092\u898b\u308b\u306b\u306f\u3001Windows\u7528\u306e<a href=\"https:\/\/www.uwe-sieber.de\/usbtreeview_e.html\" target=\"_blank\" rel=\"noopener noreferrer\">UsbTreeView \u3068\u3044\u3046\u30c4\u30fc\u30eb<\/a>\u304c\u4fbf\u5229\u3067\u3042\u308b (\u30ea\u30f3\u30af\u5148\u306fUsbTreeView\u306e\u4f5c\u8005\u306e\u30da\u30fc\u30b8\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3082\u3067\u304d\u308b ) \u3002\u624b\u6301\u3061\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u3044\u304f\u3064\u304b\u3064\u306a\u3044\u3067\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001CONFIG_POWER\u3068\u3057\u306665\uff5e100mA \u3068\u3044\u3046\u6570\u5b57\u3092\u7533\u544a\u3057\u3066\u3044\u308b\u3082\u306e\u304c\u591a\u304b\u3063\u305f\u3057\u3001\u5b9f\u969b\u305d\u3093\u306a\u3068\u3053\u308d\u3060\u308d\u3046\u3002<\/p>\n<p>Arduino Leonardo\u3084SparkFun Pro Micro \u3067USB\u30c7\u30d0\u30a4\u30b9\u3092\u3053\u3057\u3089\u3048\u308b\u3068\u3001\u57fa\u672c\u7684\u306b\u306fCONFIG_POWER\u306f500mA\u3068\u306a\u308b\u3002\u305d\u308c\u306f\u3001\u3053\u308c\u3089\u306e\u30dc\u30fc\u30c9\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u7d44\u307f\u8fbc\u307e\u308c\u308bUSB\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb (USBCore.h) \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3002<\/p>\n<pre class=\"lang:default decode:true\">#define D_CONFIG(_totalLength,_interfaces) \\\r\n\t{ 9, 2, _totalLength,_interfaces, 1, 0, USB_CONFIG_BUS_POWERED | USB_CONFIG_REMOTE_WAKEUP, USB_CONFIG_POWER_MA(500) }<\/pre>\n<p>USB_CONFIG_POWER_MA(500); \u3068\u3044\u3046\u306e\u306f\u30de\u30af\u30ed\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf(Configuration Descriptor) \u306b\u306f\u3053\u308c\u30921\/2\u3057\u305f250 (0xfa)\u3068\u3044\u3046\u5024\u304c\u5165\u3063\u3066\u3044\u308b \u30021\/2\u3059\u308b\u306e\u306f\u30d5\u30a3\u30fc\u30eb\u30c9\u9577\u304c1\u30d0\u30a4\u30c8\u3060\u304b\u3089\u3002<\/p>\n<p>CONFIG_POWER\u304c100mA\u3092\u8d85\u3048\u3066\u3044\u308b\u3068\u3001&#8221;too much power&#8221; \u3068\u6012\u3063\u3066\u63a5\u7d9a\u3055\u305b\u3066\u304f\u308c\u306a\u3044\u30db\u30b9\u30c8\u3082\u3042\u308b\u3089\u3057\u304f\u3001BGLED\u3084RGBLED\u3092\u3064\u3051\u653e\u984c\u306a\u306e\u306b\u3001100mA\u3068\u7533\u544a\u3059\u308b\u60aa\u3044\u7fd2\u6163\u3082\u3042\u308b\u3068\u304b\u3002\u3068\u306f\u3044\u3048\u3001\u30db\u30b9\u30c8\u5074\u306eUSB\u30dd\u30fc\u30c8\u306b100mA\u4ee5\u4e0a\u6d41\u3055\u306a\u3044\u3088\u3046\u306a\u4ed5\u7d44\u307f\u304c\u5165\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u3082\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001100mA\u3069\u3053\u308d\u304b500mA\u4ee5\u4e0a\u306e\u96fb\u6d41\u3092\u6d41\u3057\u305f\u3068\u3057\u3066\u3082\u3001\u5e78\u904b\u306b\u3082\u3001\u3042\u308b\u3044\u306f\u3001\u3068\u308a\u3042\u3048\u305a\u3046\u307e\u304f\u3044\u304f\u3088\u3046\u3067\u3042\u308b\u3002<\/p>\n<p>\u306a\u304a\u3001Arduino Leonardo\u3084SparkFun Pro Micro\u3068\u305d\u306e\u30b3\u30d4\u30fc\u54c1\u3067\u306f\u3001USB\u30b3\u30cd\u30af\u30bf\u306eVBus\u3092\u53d7\u3051\u308b\u3068\u3053\u308d\u306b\u3001500mA\u3067\u30c8\u30ea\u30c3\u30d7\u3059\u308b\u30dd\u30ea\u30d2\u30e5\u30fc\u30ba(\u30ea\u30bb\u30c3\u30bf\u30d6\u30eb\u30d2\u30e5\u30fc\u30ba) \u304c\u5165\u3063\u3066\u3044\u3066\u3001\u30dc\u30fc\u30c9\u5185\u3067\u306e\u77ed\u7d61\u306b\u3088\u308b\u904e\u5927\u96fb\u6d41\u304b\u3089\u30db\u30b9\u30c8\u3084\u30cf\u30d6\u306eUSB\u30dd\u30fc\u30c8\u3092\u4fdd\u8b77\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u305d\u308c\u306b\u5bfe\u3057\u3066\u3001\u3053\u306exd87 PCB\u3067\u306fVbus\u3068\u56de\u8def\u306eVcc\u304c\u76f4\u7d50\u3055\u308c\u3066\u3044\u308b\u304b\u3089\u3001\u904e\u5927\u306a\u96fb\u6d41\u3084\u77ed\u7d61\u306b\u6ce8\u610f\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3060\u308d\u3046\u3002<\/p>\n<h2 id=\"AtmelFlip\">Atmel Flip\u3067\u306e\u30d3\u30eb\u30c9\u7d50\u679c\u306e\u66f8\u304d\u8fbc\u307f\u65b9\u6cd5<\/h2>\n<p><strong>Atmel Flip<\/strong>\u3092\u4f7f\u3063\u305f\u30de\u30a4\u30b3\u30f3\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f\u306f\u4eca\u5f8c\u3088\u304f\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u4f7f\u3044\u65b9\u306e\u30e1\u30e2\u3092\u8a18\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>Atmel Flip\u3092\u958b\u304f\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<figure id=\"attachment_11132\" aria-describedby=\"caption-attachment-11132\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11132\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip0-552x466.png\" alt=\"\" width=\"552\" height=\"466\" \/><\/a><figcaption id=\"caption-attachment-11132\" class=\"wp-caption-text\">Atmel Flip (3.4.7\u7248)<\/figcaption><\/figure>\n<p>\u64cd\u4f5c\u306e\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308b\u3002<\/p>\n<p><strong>Devices \/ Select<\/strong>\u3092\u9078\u629e (\u307e\u305f\u306f\u3001\u30c4\u30fc\u30eb\u30d0\u30fc\u5de6\u7aef\u306eIC\u306e\u3088\u3046\u306a\u7d75\u3092\u30af\u30ea\u30c3\u30af)\u3057\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u3066\u3001<strong>ATmega32u4<\/strong> \u3092\u9078\u629e\u3059\u308b\u3002\u4e00\u5ea6\u3084\u308b\u3068\u899a\u3048\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u53f3\u4e0a\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u3067\u78ba\u8a8d\u3059\u308b\u3060\u3051\u3067\u3088\u304f\u306a\u308b\u3002<\/p>\n<p>\u30bf\u30fc\u30b2\u30c3\u30c8\u30c7\u30d0\u30a4\u30b9\u3092\u5916\u90e8\u30ea\u30bb\u30c3\u30c8\u3057\u3001DFU\u30e2\u30fc\u30c9\u3068\u3059\u308b (\u898b\u305f\u76ee\u3067\u306f\u308f\u304b\u3089\u306a\u3044)\u3002xd87\u306a\u3089\u3070ISP\u30dd\u30fc\u30c8\u306eRESET\u3068GND\u3092\u30b7\u30e7\u30fc\u30c8\u3057\u3066\u3084\u308b\u3002<\/p>\n<p><strong>Settings \/ Communication<\/strong>\u3092\u9078\u629e (\u307e\u305f\u306f\u30c4\u30fc\u30eb\u30d0\u30fc\u5de6\u304b\u3089\u4e8c\u756a\u76ee\u306eUSB\u30d7\u30e9\u30b0\u306e\u3088\u3046\u306a\u7d75\u3092\u30af\u30ea\u30c3\u30af)\u3057\u3001\u63a5\u7d9a\u306b\u4f7f\u3046\u30dd\u30fc\u30c8\u3068\u3057\u3066<strong>USB<\/strong> \u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<p>\u30bf\u30fc\u30b2\u30c3\u30c8\u304cDFU\u30e2\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u3001USB\u30b1\u30fc\u30d6\u30eb\u304c\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u306a\u3069\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bUSB\u304c\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u306a\u3044\u3068\u8868\u793a\u3055\u308c\u308b\u3002\u4f55\u5ea6\u3084\u3063\u3066\u3082\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u306a\u3044\u3068\u304d\u3067\u3082\u3001Flip\u3092\u4e00\u5ea6\u9589\u3058\u3066\u958b\u304d\u76f4\u3059\u3068\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u305f\u308a\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_11133\" aria-describedby=\"caption-attachment-11133\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11133\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip1-552x467.png\" alt=\"\" width=\"552\" height=\"467\" \/><\/a><figcaption id=\"caption-attachment-11133\" class=\"wp-caption-text\">Atmel Flip \u63a5\u7d9a\u3067\u304d\u306a\u3044<\/figcaption><\/figure>\n<p>\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u63a5\u7d9a\u3067\u304d\u305f\u5834\u5408\u3001\u6700\u521d\u306f\u30b0\u30ec\u30a4\u30a2\u30a6\u30c8\u3057\u3066\u3044\u305f\u8868\u793a\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u308b\u3002<\/p>\n<figure id=\"attachment_11134\" aria-describedby=\"caption-attachment-11134\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11134\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip2-552x466.png\" alt=\"\" width=\"552\" height=\"466\" \/><\/a><figcaption id=\"caption-attachment-11134\" class=\"wp-caption-text\">Atmel Flip \u63a5\u7d9a\u3067\u304d\u305f<\/figcaption><\/figure>\n<p>\u3053\u306e\u72b6\u614b\u306b\u306a\u308b\u3068\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u66f8\u304d\u8fbc\u3080.hex\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<strong>File \/ LoadHexFile&#8230;<\/strong> \u3092\u9078\u629e\u3059\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u958b\u304f\u306e\u3067\u3001Arduino\u304c\u4f5c\u6210\u3057\u305fTemp\u30d5\u30a9\u30eb\u30c0\u3092\u63a2\u3057\u3066\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_11135\" aria-describedby=\"caption-attachment-11135\" style=\"width: 472px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11135 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip30.png\" alt=\"\" width=\"472\" height=\"217\" \/><\/a><figcaption id=\"caption-attachment-11135\" class=\"wp-caption-text\">Flip LoadHexFile<\/figcaption><\/figure>\n<p>\u3053\u3093\u306a\u5177\u5408\u306b\u30012\u3064\u306ehex\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u304c\u3001 <strong>&#8230;ino.with_bootloader.hex \u3067\u306f\u306a\u3044\u65b9 \u3092\u9078\u629e<\/strong>\u3059\u308b\u3002\u9593\u9055\u3048\u3066\u9078\u629e\u3057\u3066\u3057\u307e\u3063\u3066\u3082\u3001\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u9818\u57df\u306b\u304b\u304b\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u8aad\u307f\u8fbc\u307e\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3060\u304c\u3002<\/p>\n<p>\u6b63\u3057\u3044\u65b9\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3068\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u4e2d\u592e\u90e8\u306e\u8868\u793a\u304c\u66f4\u65b0\u3055\u308c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<figure id=\"attachment_11136\" aria-describedby=\"caption-attachment-11136\" style=\"width: 195px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11136 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip31.png\" alt=\"\" width=\"195\" height=\"330\" \/><\/a><figcaption id=\"caption-attachment-11136\" class=\"wp-caption-text\">Atmel Flip \u66f8\u304d\u8fbc\u307f\u60c5\u5831<\/figcaption><\/figure>\n<p>\u3053\u308c\u306f\u3001ATmega32u4\u306e28KBytes\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea (\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u9818\u57df\u3092\u9664\u3044\u305f\u30b5\u30a4\u30ba) \u306b\u5bfe\u3057\u3001\u4eca\u56de\u30ed\u30fc\u30c9\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u30b5\u30a4\u30ba\u306f3956\u30d0\u30a4\u30c8\u3067\u3042\u308a\u3001\u30a2\u30c9\u30ec\u30b9\u7bc4\u56f2\u306f0x0000-0x0f73\u3067\u3059\u3088\u3001\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<p>hex\u30d5\u30a1\u30a4\u30eb\u304c\u30ed\u30fc\u30c9\u3067\u304d\u305f\u3089\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u5de6\u4e0b\u306e\u65b9\u306b\u3042\u308b Run \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30d5\u30e9\u30c3\u30b7\u30e5\u66f8\u304d\u8fbc\u307f\u3092\u884c\u3046\u3002<\/p>\n<figure id=\"attachment_11137\" aria-describedby=\"caption-attachment-11137\" style=\"width: 150px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip32.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11137 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip32.png\" alt=\"\" width=\"150\" height=\"406\" \/><\/a><figcaption id=\"caption-attachment-11137\" class=\"wp-caption-text\">Atmel Flip \u66f8\u304d\u8fbc\u307f<\/figcaption><\/figure>\n<p><strong>Run<\/strong> \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u3053\u306e\u30b0\u30eb\u30fc\u30d7\u5185\u3067\u30c1\u30a7\u30c3\u30af\u304c\u3064\u3044\u3066\u3044\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u4e0a\u304b\u3089\u9806\u756a\u306b\u5b9f\u884c\u3055\u308c\u3066\u3044\u304f\u3002\u6210\u529f\u3059\u308b\u3068\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u540d\u5de6\u5074\u306e\u25cb\u304c\u7dd1\u306b\u306a\u308b\u3057\u3001\u5931\u6557\u3059\u308b\u3068\u8d64\u306b\u306a\u3063\u3066\u505c\u6b62\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_11138\" aria-describedby=\"caption-attachment-11138\" style=\"width: 314px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip44.png\"><img loading=\"lazy\" decoding=\"async\" class=\"waku wp-image-11138 size-full\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip44.png\" alt=\"\" width=\"314\" height=\"401\" \/><\/a><figcaption id=\"caption-attachment-11138\" class=\"wp-caption-text\">Atmel Flip \u66f8\u304d\u8fbc\u307f\u5931\u6557\u3068\u6210\u529f<\/figcaption><\/figure>\n<p>\u5de6\u304c\u5931\u6557\u3067\u53f3\u304c\u6210\u529f\u3002\u5931\u6557\u3059\u308b\u3068\u305d\u308c\u3088\u308a\u4e0b\u306e\u51e6\u7406\u306f\u884c\u308f\u308c\u306a\u3044\u3002<\/p>\n<p><strong>Program<\/strong> (\u66f8\u304d\u8fbc\u307f) \u6642\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308b\u306e\u3060\u3051\u3069\u3001\u305d\u3046\u3044\u3046\u3068\u304d\u306f\u4e00\u5ea6Atmel Flip\u3092\u7d42\u4e86\u3057\u3066\u518d\u5ea6\u958b\u304d\u3001USB\u63a5\u7d9a\u304b\u3089\u3084\u308a\u76f4\u3059\u3068\u6210\u529f\u3059\u308b\u3088\u3046\u3067\u3042\u308b\u3002<\/p>\n<p>Program\u304c\u6210\u529f\u3057\u6700\u5f8c\u306eVerify\u3082\u6210\u529f\u3057\u305f\u3089\u3001\u3044\u3088\u3044\u3088\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u66f8\u304d\u8fbc\u3093\u3060\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3002\u305d\u306e\u305f\u3081\u306b\u306f\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u53f3\u4e0b\u3042\u305f\u308a\u306b\u3042\u308b\u3001<strong>Start Application<\/strong> \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_11144\" aria-describedby=\"caption-attachment-11144\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip41.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11144\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2020\/02\/flip41-552x464.png\" alt=\"\" width=\"552\" height=\"464\" \/><\/a><figcaption id=\"caption-attachment-11144\" class=\"wp-caption-text\">Atmel Flip \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c<\/figcaption><\/figure>\n<p>\u3053\u306e\u3068\u304d\u3001<span style=\"text-decoration: underline;\"><strong>Reset<\/strong> \u3068\u3044\u3046\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u3066\u304a\u304f\u3053\u3068\u3002<\/span>\u305d\u3046\u3057\u306a\u3044\u3068\u3001\u66f8\u304d\u8fbc\u3093\u3060\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52d5\u4f5c\u304c\u958b\u59cb\u3057\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001hex\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30fc\u30c9\u3084\u30d5\u30e9\u30c3\u30b7\u30e5\u3078\u306e\u66f8\u304d\u8fbc\u307f\u3092\u884c\u308f\u306a\u304f\u3066\u3082\u3001Start Application\u306b\u3088\u3063\u3066\u66f8\u304d\u8fbc\u307f\u6e08\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5148\u982d\u304b\u3089\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001USB\u30b1\u30fc\u30d6\u30eb\u3092\u629c\u304d\u5dee\u3057\u3057\u3066\u30d1\u30ef\u30fc\u30aa\u30f3\u30ea\u30bb\u30c3\u30c8\u3092\u304b\u3051\u308b\u624b\u9593\u304c\u7701\u3051\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.microchip.com\/DevelopmentTools\/ProductDetails\/PartNO\/FLIP\" target=\"_blank\" rel=\"noopener noreferrer\">ATmel Flip\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3001Microchip\u793e\u306e\u30da\u30fc\u30b8\u304b\u3089<\/a>\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u306f\u3001DFU\u30c7\u30d0\u30a4\u30b9\u30af\u30e9\u30b9\u306e\u30c9\u30e9\u30a4\u30d0\u30d5\u30a1\u30a4\u30eb\u3082\u542b\u307e\u308c\u3066\u304a\u308a\u3001DFU\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u30d5\u30e9\u30c3\u30b7\u30e5\u66f8\u304d\u8fbc\u307f\u306e\u524d\u306b\u5c0e\u5165\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h1>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h1>\n<p>BGLED\u3084CapsLED\u3001\u305d\u3057\u3066\u3001RGBLED\u306e\u70b9\u706f\u306e\u5b9f\u9a13\u306f\u3046\u307e\u304f\u3044\u3063\u305f\u3002\u4eca\u56de\u4f7f\u3063\u305fLED\u3067\u30ad\u30fc\u30ad\u30e3\u30c3\u30d7\u306e\u4e0b\u304b\u3089\u7167\u3089\u3057\u305f\u3068\u304d\u3001\u52b9\u679c\u7684\u304b\u3069\u3046\u304b\u306f\u4eca\u5f8c\u306e\u8a71\u306b\u306a\u308b\u3002<\/p>\n<p>DFU\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3068Atmel Flip\u3092\u4f7f\u3063\u305f\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u66f8\u304d\u8fbc\u307f\u306b\u3064\u3044\u3066\u3082\u3059\u3063\u304b\u308a\u6163\u308c\u3066\u304d\u305f\u3002Arduino \u7528\u306b\u30d3\u30eb\u30c9\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u306a\u306e\u3067Caterina\u306e\u3088\u3046\u306aCDC\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u5165\u308c\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u3053\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n<p>\u6b21\u56de\u306f\u3001\u30ad\u30fc\u30b9\u30a4\u30c3\u30c1\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u3092\u30b9\u30ad\u30e3\u30f3\u3057\u3001\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u30b9\u30a4\u30c3\u30c1\u756a\u53f7\u3092\u30b7\u30ea\u30a2\u30eb\u7d4c\u7531\u3067\u51fa\u529b\u3059\u308bArduino\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8a71\u306b\u306a\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 xd87 PCB\u306e\u52d5\u4f5c\u78ba\u8a8d\u306e\u7d9a\u304d\u306b\u306a\u308a\u307e\u3059\u3002 \u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9LED\u3068\u30a2\u30f3\u30c0\u30fc\u30b0\u30ed\u30fc\u7528RGB LED\u306e\u52d5\u4f5c\u3092\u3001Arduino IDE\u3067\u66f8\u3044\u305f\u30b9\u30b1\u30c3\u30c1\u3067\u78ba\u8a8d\u3057\u305f\u3002 Arduino IDE\u3067\u30d3\u30eb\u30c9 (\u691c\u8a3c\u30fb\u30b3\u30f3\u30d1\u30a4\u30eb) &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=11125\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">xd87\u30ad\u30fc\u30dc\u30fc\u30c9\u306eLED\u3084RGBLED\u3092Arduino\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u70b9\u706f\u3059\u308b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,69],"tags":[65,143,100],"class_list":["post-11125","post","type-post","status-publish","format-standard","hentry","category-pc","category-programming","tag-arduino","tag-xd87","tag-100"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11125"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11125\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}