
{"id":8092,"date":"2018-10-02T14:38:41","date_gmt":"2018-10-02T05:38:41","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=8092"},"modified":"2021-08-21T10:08:23","modified_gmt":"2021-08-21T01:08:23","slug":"pro-micro%e3%81%abmini-usb-host%e3%82%b7%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e4%bb%98%e3%81%91%e3%81%a6usb%e3%82%ad%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e3%82%92%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=8092","title":{"rendered":"Pro Micro\u306bmini USB Host\u30b7\u30fc\u30eb\u30c9\u3092\u4ed8\u3051\u3066USB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>SparkFun Pro Micro(\u30b3\u30d4\u30fc\u54c1)\u306b\u5c0f\u3055\u306a\u30ad\u30fc\u30d1\u30c3\u30c9\u3092\u4ed8\u3051\u3066\u5c0f\u898f\u6a21\u306aHID\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u307f\u305f\u304c\u3001\u4eca\u5ea6\u306f\u3075\u3064\u3046\u306eUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u3064\u306a\u3044\u3067\u307f\u305f\u8a71\u3002<\/p>\n<p>Arduino\u306bUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u306fUSB\u30db\u30b9\u30c8\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u4eca\u56de\u306f\u3001mini USB Host Shield \u3092\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_7972\" aria-describedby=\"caption-attachment-7972\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/4112bf788fa332372eb02cd448da44fc.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7972\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/4112bf788fa332372eb02cd448da44fc-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7972\" class=\"wp-caption-text\">PRO MICRO \u3068 miniUHS<\/figcaption><\/figure>\n<p>\u3053\u306e2\u3064\u306e\u30dc\u30fc\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u3067Pro Micro\u306b\u3044\u308d\u3044\u308d\u306aUSB\u5468\u8fba\u88c5\u7f6e\u3092\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3060\u304c\u3001\u8a71\u306e\u6d41\u308c\u3068\u3057\u3066\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002Pro Micro\u81ea\u4f53\u3092HID\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u632f\u308b\u821e\u308f\u305b\u308b\u3053\u3068\u306f\u65e2\u306b\u51fa\u6765\u3066\u3044\u308b\u304b\u3089\u3001Pro Micro\u306b\u3064\u306a\u3044\u3060\u30ad\u30fc\u30dc\u30fc\u30c9\u3092PC\u306e\u5165\u529b\u88c5\u7f6e\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u3060\u308d\u3046\u3002\u305f\u3060\u3064\u306a\u3050\u3060\u3051\u3067\u3001\u3069\u3046\u3044\u3046\u610f\u5473\u304c\u3042\u308b\u306e\u304b\uff1f<\/p>\n<h1>mini USB Host\u30b7\u30fc\u30eb\u30c9\u306e\u3053\u3068<\/h1>\n<p>\u4eca\u56de\u4f7f\u3063\u305f\u88fd\u54c1\u306f\u4e2d\u56fd\u304b\u3089\u53d6\u308a\u5bc4\u305b\u305f\u3082\u306e\u3067\u3001USD\u3067$4\uff5e$5\u7a0b\u5ea6\u306e\u4fa1\u683c\u3060\u3063\u305f\u3002USB Host\u30b7\u30fc\u30eb\u30c9\u306b\u306fArduino\u30b7\u30fc\u30eb\u30c9\u3068\u3057\u3066\u666e\u901a\u30b5\u30a4\u30ba\u306e\u3082\u306e\u3084\u3001Arduino Pro Mini\u3084Pro Micro\u3068\u307b\u307c\u540c\u30b5\u30a4\u30ba\u306e\u30df\u30cb\u7248\u304c\u3042\u308b\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u958b\u767a\u5143\u306e<a href=\"https:\/\/www.circuitsathome.com\/usb-host-shield-hardware-manual\/\" target=\"_blank\" rel=\"noopener noreferrer\">Circuits@Home\u306e\u30da\u30fc\u30b8<\/a>\u304c\u8a73\u3057\u3044(\u3061\u3087\u3063\u3068\u8aad\u307f\u3065\u3089\u3044\u3051\u3069)\u3002<a href=\"https:\/\/www.circuitsathome.com\/chome_downloads\/UHS_mini_10.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">pdf\u7248\u306e\u56de\u8def\u56f3\u306f\u3053\u3061\u3089<\/a>\u3002<\/p>\n<figure id=\"attachment_7974\" aria-describedby=\"caption-attachment-7974\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/5dc582828a0ff607615ad297bbf047cc.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7974\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/5dc582828a0ff607615ad297bbf047cc-552x414.jpg\" alt=\"mini UHS\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7974\" class=\"wp-caption-text\">mini USB Host Shield<\/figcaption><\/figure>\n<h2>miniUHS\u306e\u69cb\u6210\u306a\u3069<\/h2>\n<p>\u4eca\u56de\u8cfc\u5165\u3057\u305f\u88fd\u54c1\u306b\u306f\u3001&#8221;HW-244 UHS mini v2.0&#8243;\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001\u672c\u5bb6\u306e\u65b9\u306e&#8221;UHS mini r1.1&#8243;\u3068\u3001\u62b5\u6297\u5024\u304c\u9055\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u3082\u306e\u306e\u4e2d\u8eab\u306f\u540c\u3058\u3068\u8003\u3048\u3066\u3088\u3055\u305d\u3046\u3060\u3002ROM\u3084\u30d5\u30e9\u30c3\u30b7\u30e5\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u713c\u304b\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3002<br \/>\n\u30dc\u30fc\u30c9\u4e2d\u592e\u306b\u3001MAXIM\u793e\u306eMAX3421E\u304c\u8f09\u3063\u3066\u3044\u306612MHz\u306e\u767a\u632f\u5668\u304c\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u3002MAX3421E\u306f\u00a0<em><strong>SPI\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u4ed8\u304d\u3001USB\u30da\u30ea\u30d5\u30a7\u30e9\u30eb\/\u30db\u30b9\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u00a0<\/strong><\/em>\u3068\u79f0\u3055\u308c\u3066\u3044\u3066\u3001SPI\u30db\u30b9\u30c8(\u4eca\u56de\u306fATmega32u4)\u3068SPI\u3067\u63a5\u7d9a\u3059\u308b\u3002<a href=\"https:\/\/www.maximintegrated.com\/jp\/products\/interface\/controllers-expanders\/MAX3421E.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u30e1\u30fc\u30ab\u30fc\u306e\u30da\u30fc\u30b8\u306b\u3088\u308c\u3070<\/a>\u3001SPI\u30db\u30b9\u30c8\u304b\u3089\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u3088\u308aUSB\u5468\u8fba\u6a5f\u5668\u7528\u306b\u3082USB\u30db\u30b9\u30c8\u7528\u306b\u3082\u306a\u308b\u3068\u306e\u3053\u3068\u3002<br \/>\n\u52d5\u4f5c\u96fb\u6e90(VCC)\u306f+3.3V\u306a\u306e\u3067\u3001+5V\u52d5\u4f5c\u306eArduino\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u969b\u306b\u306f\u96fb\u6e90\u3060\u3051\u3067\u306a\u304f\u3001SPI\u306e\u5404\u30e9\u30a4\u30f3\u306b\u3064\u3044\u3066\u3082\u30ec\u30d9\u30eb\u30b7\u30d5\u30c8\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002+3.3V\u52d5\u4f5c\u306e\u3082\u306e\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u304c\u7c21\u5358\u3060\u308d\u3046\u3002<\/p>\n<p>Arduino\u3068\u306e\u63a5\u7d9a\u306b\u306f\u3001SPI\u306e4\u672c(SCLK, MISO, MISO, SS) \u3068\u5272\u8fbc\u307f\u901a\u77e5\u7528\u306e(INT)\u304c\u5fc5\u8981\u306b\u306a\u308b(\u5272\u308a\u8fbc\u307f\u3092\u4f7f\u3046\u304b\u3069\u3046\u304b\u306f\u30b9\u30b1\u30c3\u30c1\u6b21\u7b2c)\u3002miniUHS\u306e\u5916\u5468\u306b\u3042\u308b20\u500b\u306e\u30b9\u30eb\u30fc\u30db\u30fc\u30eb\u7aef\u5b50\u306fArduino PRO MINI\u3068\u91cd\u306d\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u914d\u5217\u3055\u308c\u3066\u3044\u308b\u304c\u3001Pro Micro\u3068\u91cd\u306d\u308b\u3068\u304d\u306b\u306f\u82e5\u5e72\u306e\u76f8\u9055\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3002<br \/>\n\u306a\u304a\u3001miniUHS\u5185\u3067\u610f\u5473\u3092\u3082\u3064\u7aef\u5b50\u306f\u3001VCC\u3068GND\u3092\u9664\u3051\u30706\u7aef\u5b50(SCLK, MISO, MOSI, SS, INT, RST) \u3057\u304b\u306a\u3044\u3002\u591a\u304f\u306e\u30b9\u30eb\u30fc\u30db\u30fc\u30eb\u306f\u3001\u30dc\u30fc\u30c9\u5185\u306e\u3069\u3053\u306b\u3082\u914d\u7dda\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n<h5>\u30b7\u30eb\u30af\u306e\u8aa4\u308a\u306b\u6ce8\u610f<\/h5>\n<figure id=\"attachment_7979\" aria-describedby=\"caption-attachment-7979\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/6df0ab408c0cb15e9eec4f0f963b9075.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7979\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/6df0ab408c0cb15e9eec4f0f963b9075-552x414.jpg\" alt=\"miniUHS\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7979\" class=\"wp-caption-text\">miniUHS\u88cf<\/figcaption><\/figure>\n<p>\u4eca\u56de\u5165\u624b\u3057\u305f\u30b3\u30d4\u30fc\u54c1\u306e\u88cf\u9762\u306b\u306f\u3001SPI\u7528\u306e\u30b7\u30eb\u30af\u304c\u5370\u5237\u3055\u308c\u3066\u3044\u308b\u304c\u8aa4\u308a\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3060\u308d\u3046\u3002\u4e0a\u56f3\u4e0b\u5074\u306e\u53f3\u304b\u3089SS, CLK, MISO, MOSI\u3068\u5370\u5237\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u3053\u306e\u4e26\u3073\u306fPRO MINI\u3084Pro Micro \u306e\u305d\u308c(\u53f3\u304b\u3089 D10, MOSI, MISO, SCLK)\u3068\u7570\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u5b9f\u969b\u306b\u306f\u3069\u3046\u306a\u306e\u304b\u3068\u601d\u3063\u3066\u30d1\u30bf\u30fc\u30f3\u3092\u8ffd\u3063\u3066\u5c0e\u901a\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f(\u5de6\u5074\u304c\u30b7\u30eb\u30af\u5370\u5237\u3001\u53f3\u5074\u304cMAX3421E\u306e\u7aef\u5b50)\u3002<\/p>\n<ul>\n<li>SS-&gt; MAX3421\u306e#14 (\/SS)<\/li>\n<li>SCLK\u00a0-&gt; MAX3421\u306e#16 (MOSI)<\/li>\n<li>MISO\u00a0-&gt; MAX3421\u306e#15 (MISO)<\/li>\n<li>MOSI\u00a0-&gt; MAX3421\u306e#13 (SCLK)<\/li>\n<\/ul>\n<p>\u3064\u307e\u308a\u3001\u30b7\u30eb\u30af\u304c\u9593\u9055\u3044\u3067\u5b9f\u969b\u306fArduino PRO MINI\u3084Pro Micro\u306e\u7aef\u5b50\u4e26\u3073\u3068\u540c\u3058\u3068\u3044\u3046\u3053\u3068\u3002\u306a\u306e\u3067\u3001\u30b7\u30eb\u30af\u306b\u60d1\u308f\u3055\u308c\u308b\u3053\u3068\u306a\u304f\u3001\u540c\u3058\u4f4d\u7f6e\u306e\u7aef\u5b50\u540c\u58eb\u3092\u63a5\u7d9a\u3059\u308c\u3070\u3088\u3044\u3060\u308d\u3046(SPI SS\u306f\u3001Arduino\u306eD10\u306b\u63a5\u7d9a\u3055\u308c\u308b)\u3002<\/p>\n<h2>\u30dc\u30fc\u30c9\u306e\u5c0f\u6539\u9020<\/h2>\n<p>+3.3V\u7248Pro Micro\u3068\u306e\u63a5\u7d9a\u306b\u3042\u305f\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6539\u9020\u3092\u884c\u3063\u305f\u3002miniUHS\u30dc\u30fc\u30c9\u306e\u6539\u9020\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/ht-deko.com\/arduino\/shield_usbhost_mini.html\" target=\"_blank\" rel=\"noopener noreferrer\">\uff24\uff25\uff2b\uff2f\u306e\u30a2\u30e4\u30b7\u3044\u304a\u90e8\u5c4b\u3002\u306e\u8a72\u5f53\u3059\u308b\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u3002<\/p>\n<h5>VBUS\u3068RAW\u7aef\u5b50<\/h5>\n<p>miniUHS\u306e\u56de\u8def\u56f3\u3092\u898b\u3066\u3082\u4eca\u56de\u306e\u88fd\u54c1\u306e\u914d\u7dda\u30d1\u30bf\u30fc\u30f3\u3092\u898b\u3066\u3082\u3001USB A\u30b3\u30cd\u30af\u30bf\u306eVBUS\u306fVCC\u3068\u76f4\u7d50\u3055\u308c\u3066\u3044\u308b\u3002VCC\u306f+3.3V\u3060\u3051\u3069\u5927\u4e08\u592b\uff1f\u3068\u601d\u3063\u305f\u3002\u4eca\u56de\u306f+5V\u8fd1\u3044\u96fb\u5727\u3092\u4e0e\u3048\u305f\u3044\u306e\u3067\u3001+3.3V\u52d5\u4f5c\u306ePro Micro\u306eRAW\u7aef\u5b50(\u5143\u3092\u6b63\u305b\u3070\u3001PC\u3084USB\u30cf\u30d6\u304c\u4f9b\u7d66\u3059\u308bVBUS) \u304b\u3089\u96fb\u5727\u3092\u5f97\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u305f\u3060\u3001miniUHS\u306eRAW\u7aef\u5b50\u76f8\u5f53\u306e\u5916\u5468\u30b9\u30eb\u30fc\u30db\u30fc\u30eb\u306f\u3069\u3053\u306b\u3082\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3089\u81ea\u5206\u3067\u914d\u7dda\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\nRAW\u3068VBUS\u3092\u63a5\u7d9a\u3059\u308b\u306a\u3089\u3070\u3001VCC\u3068VBUS\u9593\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u30ab\u30c3\u30c8\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002\u30ab\u30c3\u30c8\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u3001\u304a\u305d\u3089\u304fMAX3421E\u304c\u58ca\u308c\u307e\u3059\u3002<\/p>\n<h5>MAX_RST\u3068RST\u7aef\u5b50<\/h5>\n<p>\u3044\u3061\u304a\u3046\u3001\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089Pro Micro\u3082MAX3421E\u3082\u30ea\u30bb\u30c3\u30c8\u3057\u305f\u3044\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001miniUHS\u3067MAX3421E\u306e\/RES\u30d4\u30f3\u3068\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u7aef\u5b50\u306f\u3001Pro Micro\u3067\u306f\u306a\u305c\u304bGND\u306b\u306a\u3063\u3066\u3044\u308b\u3002PRO MINI\u3067\u306fRST\u7aef\u5b50\u306a\u306e\u3060\u304c\u3002\u305d\u3057\u3066\u3001Pro Micro\u306eRST\u7aef\u5b50\u306b\u8a72\u5f53\u3059\u308bminiUHS\u306e\u7aef\u5b50\u306e\u30b9\u30eb\u30fc\u30db\u30fc\u30eb(\u4e0b\u56f3\u3067\u306e (RST) )\u306f\u3069\u3053\u306b\u3082\u3064\u306a\u304c\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u81ea\u5206\u3067\u914d\u7dda\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u305f\u3060\u3001miniUHS\u3068Pro Micro\u3092\u91cd\u306d\u5408\u308f\u305b\u3066\u63a5\u7d9a\u3057\u306a\u3044\u9650\u308a\u3001RST-MAX_RST\u9593\u306e\u30d1\u30bf\u30fc\u30f3\u30ab\u30c3\u30c8\u306e\u5fc5\u8981\u306f\u306a\u3044\u3002\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u4e26\u3079\u308b\u306e\u306a\u3089Pro Micro\u306eRST\u3068miniUHS\u306eRST\u3092\u30ef\u30a4\u30e4\u3067\u63a5\u7d9a\u3059\u308c\u3070\u3088\u3044\u3060\u3051\u3002<\/p>\n<p>Pro Micro\u81ea\u4f53\u306b\u306f\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u304c\u306a\u3044\u3057\u3001Pro Micro\u5074\u3082miniUHS\u5074\u3082RST\u306f\u5165\u529b\u7aef\u5b50\u3067\u3042\u308b\u3002\u306a\u306e\u3067Pro Micro\u306eRST\u3068MAX_RST\u3092\u3042\u3048\u3066\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u3082\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u308b\u3002<br \/>\n\u6ce8\u610f\u3059\u3079\u304d\u70b9\u306f\u3001MAX3421E\u306e\u4ed5\u69d8\u3067\u306f\u96fb\u6e90\u6295\u5165\u5f8c\u306e\u52d5\u4f5c\u72b6\u614b\u3067\u306f\u3001MAX_RST\u3092H\u30ec\u30d9\u30eb\u306b\u7dad\u6301\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001miniUHS\u306eMAX_RST\u7aef\u5b50\u306fVCC\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3089\u3001\u4f55\u3082\u63a5\u7d9a\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u306f\u72b6\u614b\u304c\u4e0d\u5b9a\u3067\u6b63\u3057\u304f\u52d5\u4f5c\u3057\u306a\u304b\u3063\u305f\u3002<br \/>\nPro Micro\u5074\u306eRST\u306f\u30dc\u30fc\u30c9\u5185\u3067VCC\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u4e21\u8005\u3092\u63a5\u7d9a\u3057\u3066\u3084\u308c\u3070\u3088\u3044\u3057\u3001\u3042\u308b\u3044\u306f\u3001miniUHS\u5185\u3067MAX_RST\u3092VCC\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n\u3082\u3057\u3082VCC=+5V\u306ePro Micro\u3084Pro MINI\u3068(SPI\u306e\u30ec\u30d9\u30eb\u30b7\u30d5\u30bf\u3092\u4ecb\u3057\u3066)\u63a5\u7d9a\u3059\u308b\u306a\u3089\u3070\u3001MAX_RST\u306f\u30de\u30a4\u30b3\u30f3\u5074\u3068\u63a5\u7d9a\u305b\u305a\u3001+3.3V\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<figure id=\"attachment_7977\" aria-describedby=\"caption-attachment-7977\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/51f94c5cc7cbf8c7d658b43c971e1f38.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7977\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/51f94c5cc7cbf8c7d658b43c971e1f38-552x414.jpg\" alt=\"mini UHS\u6539\u9020\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7977\" class=\"wp-caption-text\">mini UHS \u63a5\u7d9a\u304c\u5fc5\u8981\u306a\u7aef\u5b50\u3068\u30d1\u30c3\u30c1<\/figcaption><\/figure>\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u4e0a\u56f3\u306e\u659c\u7dda\u306e2\u7b87\u6240\u3067\u30d1\u30bf\u30fc\u30f3\u3092\u30ab\u30c3\u30c8\u3057\u3001(RAW)-VBUS\u3068(RST)-MAX_RST\u3092\u914d\u7dda\u3059\u308b\u3002\u8d64\u4e38\u3092\u4ed8\u3051\u3066\u3044\u308b\u7aef\u5b50\u304c\u3001\u30dc\u30fc\u30c9\u5185\u306b\u63a5\u7d9a\u76f8\u624b\u304c\u3044\u308b\u30b9\u30eb\u30fc\u30db\u30fc\u30eb\u3092\u793a\u3057\u3066\u3044\u308b\u3002<br \/>\n\u306a\u304a\u3001PRO MINI\u306b\u306fRST\u7aef\u5b50\u304c2\u3064\u3042\u308b\u306e\u3067\u3001\u4e0a\u306e\u3088\u3046\u306a\u30d1\u30c3\u30c1\u3092\u3042\u3066\u3066\u4e0b\u5074\u306eRST\u3092N.C.\u306b\u3057\u305fminiUHS\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3082\u52d5\u4f5c\u306b\u5f71\u97ff\u3057\u306a\u3044\u3068\u601d\u3046\u3002<\/p>\n<p>\u203b PRO MINI\u3084Pro Micro\u306eRAW\u7aef\u5b50\u306e\u96fb\u5727\u306f+5.25\u00a0V\u4ee5\u4e0b\u3067\u3042\u308b\u3053\u3068\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u3084\u3063\u305f\u3089\u3053\u3093\u306a\u5177\u5408\u306b\u306a\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_8095\" aria-describedby=\"caption-attachment-8095\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/ae0abdbcf7099949d8d77760b4ceb51c.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-8095\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/ae0abdbcf7099949d8d77760b4ceb51c-552x414.jpg\" alt=\"miniUHS\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-8095\" class=\"wp-caption-text\">miniUHS\u306b\u30d1\u30c3\u30c1<\/figcaption><\/figure>\n<p>\u914d\u7dda\u9762\u304c\u8584\u3044\u306e\u3067\u7c21\u5358\u306b\u30ab\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5f53\u521d\u306f2\u3064\u306e\u30df\u30cb\u30dc\u30fc\u30c9\u3092\u91cd\u306d\u5408\u308f\u305b\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u307e\u305f\u4f55\u304b\u30d1\u30c3\u30c1\u304c\u5fc5\u8981\u306b\u306a\u308b\u3068\u56f0\u308b\u3068\u601d\u3063\u3066\u3075\u3064\u3046\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u4e26\u3079\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_8096\" aria-describedby=\"caption-attachment-8096\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/581d9890337f8eb683ef913bf8ba1f16.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-8096\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/09\/581d9890337f8eb683ef913bf8ba1f16-552x414.jpg\" alt=\"Pro Micro + miniUHS\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-8096\" class=\"wp-caption-text\">Pro Micro\u3068miniUHS<\/figcaption><\/figure>\n<p>\u30d8\u30ca\u30d8\u30ca\u306a\u30ef\u30a4\u30e4\u3067\u63a5\u7d9a\u3057\u3066\u3044\u308b\u4e21\u30dc\u30fc\u30c9\u306e\u7aef\u5b50\u4f4d\u7f6e\u306f\u4e00\u81f4\u3057\u3066\u3044\u308b\u3002\u3064\u307e\u308a\u91cd\u306d\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u305d\u306e\u3068\u304d\u306f\u5199\u771f\u3068\u540c\u3058\u5411\u304d\u3067USB\u30b3\u30cd\u30af\u30bf\u304c\u4e21\u5074\u306b\u3067\u308b\u5f62\u72b6\u3068\u306a\u308b\u3002\u3053\u306e\u30dc\u30fc\u30c9\u306f\u3057\u3063\u304b\u308a\u30d4\u30f3\u3092\u306f\u3093\u3060\u4ed8\u3051\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u5225\u9014\u7528\u610f\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u304c\u3002\u3044\u3061\u304a\u3046\u3001\u914d\u7dda\u56f3\u3092\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_8109\" aria-describedby=\"caption-attachment-8109\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/10\/A_PRO_MICRO_USB_HOST1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-8109\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/10\/A_PRO_MICRO_USB_HOST1-552x394.png\" alt=\"A_PRO_MICRO_USB_HOST1\" width=\"552\" height=\"394\" \/><\/a><figcaption id=\"caption-attachment-8109\" class=\"wp-caption-text\">A_PRO_MICRO_USB_HOST1<\/figcaption><\/figure>\n<h1>USB Host Shield Library 2.0 \u3092\u4f7f\u3046<\/h1>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u306e\u305f\u3081\u3001Circuits@Home \u304cLGPL\u3067\u306f\u306a\u304fGPL v2\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3084\u88fd\u54c1\u306f\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u516c\u958b\u3059\u308b\u3053\u3068(\u5165\u624b\u53ef\u80fd\u3068\u3059\u308b\u3053\u3068)\u304c\u7fa9\u52d9\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b\u3002<\/p>\n<h5>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c0e\u5165<\/h5>\n<p>Arduino IDE\u306e<strong>\u30b9\u30b1\u30c3\u30c1\/\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9<\/strong>\u3067\u958b\u304f\u30e1\u30cb\u30e5\u30fc\u306e\u5148\u982d\u304b\u3089<strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7ba1\u7406<\/strong>\u3092\u9078\u629e\u3057\u3001<strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u30de\u30cd\u30fc\u30b8\u30e3<\/strong>\u3092\u958b\u304f\u3002\u691c\u7d22\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u3001&#8221;USB Host&#8221; \u3068\u5165\u529b\u3059\u308b\u3068\u3001&#8221;<strong>USB Host Shield Library 2.0 by Oleg Mazurov&#8230;.<\/strong> &#8220;\u3068\u3044\u3063\u305f\u9805\u76ee\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3(1.3.2)\u3092\u9078\u629e\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<p>\u3082\u3057\u304b\u3057\u305f\u3089\u3001\u4ee5\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3053\u3068\u304c\u3042\u3063\u3066\u3053\u3046\u306a\u3063\u305f\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u30de\u30cd\u30fc\u30b8\u30e3\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f<a href=\"https:\/\/github.com\/felis\/USB_Host_Shield_2.0\" target=\"_blank\" rel=\"noopener noreferrer\">github\u304b\u3089zip\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3057\u3066Arduino\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u8ffd\u52a0\u3059\u308c\u3070\u3088\u3044\u3060\u308d\u3046\u3002<\/p>\n<h5>\u52d5\u4f5c\u78ba\u8a8d\u306b\u306fexamples\u306eUSBHIDBootKbd.ino\u3092\u4f7f\u3046<\/h5>\n<p>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4ed8\u5c5e\u306e\u30b9\u30b1\u30c3\u30c1(examples\\HID\\USBHIDBootKbd\\USBHIDBootKbd.ino) \u3092\u30d3\u30eb\u30c9\u3057\u3066\u66f8\u304d\u8fbc\u3093\u3060\u3068\u3053\u308d\u3042\u3063\u3055\u308a\u52d5\u3044\u305f\u3002\u3053\u306e\u30b9\u30b1\u30c3\u30c1\u306f\u3001Arduino IDE\u306e<strong>\u30d5\u30a1\u30a4\u30eb\/\u30b9\u30b1\u30c3\u30c1\u4f8b<\/strong>\u306e\u4e2d\u304b\u3089\u9078\u3076\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u3057\u3066Pro Micro\u306b\u66f8\u304d\u8fbc\u3080\u3068\u3001miniUHS\u306e\u4e0b\u6d41\u306b\u3064\u306a\u3044\u3060\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30ad\u30fc\u3092\u62bc\u3057\u305f\u308a\u96e2\u3057\u305f\u308a\u3057\u305f\u3068\u304d\u3001\u5bfe\u8c61\u30ad\u30fc\u306e\u30ad\u30fc\u30b3\u30fc\u30c9(Usage ID) \u304c\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<figure id=\"attachment_8106\" aria-describedby=\"caption-attachment-8106\" style=\"width: 535px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/10\/0d40a5e4a645fc6b96e767d64ac0878e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8106\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/10\/0d40a5e4a645fc6b96e767d64ac0878e.png\" alt=\"USBHIDBootKbd\" width=\"535\" height=\"519\" \/><\/a><figcaption id=\"caption-attachment-8106\" class=\"wp-caption-text\">USBHIDBootKbd\u306e\u5b9f\u884c<\/figcaption><\/figure>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u30ad\u30fc\u64cd\u4f5c\u5185\u5bb9\u304c\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u8868\u793a\u3055\u308c\u3066\u304f\u308b\u3002Shift\u3084Ctrl\u306e\u3088\u3046\u306a\u4fee\u98fe\u30ad\u30fc\u5358\u72ec\u3067\u306e\u62bc\u4e0b\u3082\u8868\u793a\u3055\u308c\u308b\u3057\u3001\u4fee\u98fe\u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089\u6587\u5b57\u30ad\u30fc\u3092\u62bc\u3057\u305f\u3068\u304d\u3082\u305d\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u6587\u5b57\u30ad\u30fc\u304c\u62bc\u4e0b\u3055\u308c\u308b\u3068\u3001<em>void KbdRptParser::OnKeyDown(uint8_t mod, uint8_t key)<\/em> \u304c\u547c\u3070\u308c\u3001\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u308b\u3068\u00a0<em>void KbdRptParser::OnKeyUp(uint8_t mod, uint8_t key);<\/em>\u00a0\u00a0\u304c\u547c\u3070\u308c\u308b\u3002\u3044\u305a\u308c\u3082\u3001key\u306b\u306f\u30ad\u30fc\u30b3\u30fc\u30c9(HID Usage ID)\u304c\u3001mod\u306b\u306f\u305d\u306e\u6642\u70b9\u306e\u4fee\u98fe\u30ad\u30fc\u306e\u60c5\u5831\u304c\u5165\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u308c\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u4fee\u98fe\u30ad\u30fc\u5358\u72ec\u3067\u306e\u62bc\u4e0b\u6642\u306b\u306f\u547c\u3070\u308c\u306a\u3044\u3002\u305f\u3068\u3048\u3070 Shift\u30ad\u30fc\u304c\u5358\u72ec\u3067\u62bc\u3055\u308c\u305f\u3068\u304d\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306a\u3089\u3070\u3001<em>void KbdRptParser::OnControlKeysChanged(uint8_t before, uint8_t after);<\/em> \u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b\u3002<em>before<\/em>\u3068<em>after<\/em>\u306b\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u5074\u3067\u7dad\u6301\u3057\u3066\u3044\u308b\u76f4\u524d\u306e\u4fee\u98fe\u30ad\u30fc\u60c5\u5831\u3068\u3001\u73fe\u5728\u306e\u4fee\u98fe\u30ad\u30fc\u60c5\u5831\u304c\u5165\u3063\u3066\u3044\u308b\u3002\u6587\u5b57\u30ad\u30fc\u306e\u62bc\u4e0b\u3092\u4f34\u308f\u306a\u3044\u5834\u5408\u3082\u3001\u3053\u306e2\u3064\u306e\u5024\u306b\u76f8\u9055\u304c\u3042\u308c\u3070\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u3060\u3002<\/p>\n<p>miniUHS\u306e\u4e0b\u6d41\u306b\u3064\u306a\u3044\u3060\u30ad\u30fc\u30dc\u30fc\u30c9\u306eLED\u306f\u3001ScrLock\u3084NumLock\u306e\u62bc\u4e0b\u306b\u5fdc\u3058\u3066\u70b9\u3044\u305f\u308a\u6d88\u3048\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u304cLED\u7528\u306e\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u30ec\u30dd\u30fc\u30c8\u3092\u9001\u3063\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002\u4eca\u56de\u306f\u30ad\u30fc\u30dc\u30fc\u30c9LED\u3092\u5229\u7528\u3057\u306a\u3044\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h1>miniUHS\u306bUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u3064\u306a\u304e\u3001PC\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u4f7f\u3046\u30b9\u30b1\u30c3\u30c1<\/h1>\n<p>\u4e0a\u8a18\u306e\u4f5c\u4f8b\u3092\u53c2\u8003\u306b\u3001miniUHS\u306eUSB\u30dd\u30fc\u30c8\u306b\u63a5\u7d9a\u3057\u305f\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u9001\u3089\u308c\u3066\u304f\u308b\u30ad\u30fc\u64cd\u4f5c\u30a4\u30d9\u30f3\u30c8\u3092HID\u30a4\u30f3\u30d7\u30c3\u30c8\u30ec\u30dd\u30fc\u30c8\u3068\u3057\u3066PC\u306b\u9001\u308b\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u3044\u3066\u307f\u305f\u3002\u7d50\u679c\u3068\u3057\u3066\u666e\u901a\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u4f7f\u3048\u308c\u3070\u30aa\u30fc\u30b1\u30fc\u3002<\/p>\n<pre class=\"height-set:true height-mode:2 lang:c++ decode:true\">#include \"HID.h\"\r\n\r\n#include &lt;hidboot.h&gt;\r\n#include &lt;usbhub.h&gt;\r\n#include &lt;SPI.h&gt;\r\n\r\nstatic const uint8_t _hidReportDescriptor[] PROGMEM = {\r\n  0x05, 0x01, \/\/ USAGE_PAGE (Generic Desktop)\r\n  0x09, 0x06, \/\/ USAGE (Keyboard)\r\n  0xa1, 0x01, \/\/ COLLECTION (Application)\r\n  0x85, 0x02, \/\/   REPORT_ID (2) --- Mouse.cpp\u304cID==1\u3002\r\n\r\n  0x05, 0x07, \/\/   USAGE_PAGE (usage = keyboard page)\r\n    \/\/ \u30e2\u30c7\u30d5\u30a1\u30a4\u30e4\u30ad\u30fc(\u4fee\u98fe\u30ad\u30fc)\r\n  0x19, 0xe0, \/\/     USAGE_MINIMUM (\u5de6CTRL\u304c0xe0)\r\n  0x29, 0xe7, \/\/     USAGE_MAXIMUM (\u53f3GUI\u304c0xe7)\r\n  0x15, 0x00, \/\/   LOGICAL_MINIMUM (0)\r\n  0x25, 0x01, \/\/   LOGICAL_MAXIMUM (1)\r\n  0x95, 0x08, \/\/   REPORT_COUNT (8) \u5168\u90e8\u30678\u3064(\u5de6\u53f34\u3064\u305a\u3064)\u3002\r\n  0x75, 0x01, \/\/   REPORT_SIZE (1) \u5404\u4fee\u98fe\u30ad\u30fc\u306b\u3064\u304d1\u30d3\u30c3\u30c8\r\n  0x81, 0x02, \/\/   INPUT (Data,Var,Abs) 8\u30d3\u30c3\u30c8\u9577\u306eInput\u30d5\u30a3\u30fc\u30eb\u30c9(\u5909\u6570)\u304c1\u3064\u3002\r\n    \/\/ \u4e88\u7d04\u30d5\u30a3\u30fc\u30eb\u30c9\r\n  0x95, 0x01, \/\/   REPORT_COUNT (1)\r\n  0x75, 0x08, \/\/   REPORT_SIZE (8) 1\u30d3\u30c3\u30c8\u304c8\u3064\u3002\r\n  0x81, 0x01, \/\/   INPUT (Cnst,Var,Abs)\r\n    \/\/ LED\u72b6\u614b\u306e\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\r\n  0x95, 0x05, \/\/   REPORT_COUNT (5) \u5168\u90e8\u30675\u3064\u3002\r\n  0x75, 0x01, \/\/   REPORT_SIZE (1)  \u5404LED\u306b\u3064\u304d1\u30d3\u30c3\u30c8\r\n  0x05, 0x08, \/\/   USAGE_PAGE (LEDs)\r\n  0x19, 0x01, \/\/     USAGE_MINIMUM (1) (NumLock LED\u304c1)\r\n  0x29, 0x05, \/\/     USAGE_MAXIMUM (5) (KANA LED\u304c5)\r\n  0x91, 0x02, \/\/   OUTPUT (Data,Var,Abs) \/\/ LED report\r\n    \/\/ LED\u30ec\u30dd\u30fc\u30c8\u306e\u30d1\u30c7\u30a3\u30f3\u30b0\r\n  0x95, 0x01, \/\/   REPORT_COUNT (1)\r\n  0x75, 0x03, \/\/   REPORT_SIZE (3)\u3000\u3000\u6b8b\u308a\u306e3\u30d3\u30c3\u30c8\u3092\u57cb\u3081\u308b\u3002\r\n  0x91, 0x01, \/\/   OUTPUT (Cnst,Var,Abs) \/\/ padding \r\n    \/\/ \u62bc\u4e0b\u60c5\u5831\u306e\u30a4\u30f3\u30d7\u30c3\u30c8\r\n  0x95, 0x06, \/\/   REPORT_COUNT (6) \u5168\u90e8\u30676\u3064\u3002\r\n  0x75, 0x08, \/\/   REPORT_SIZE (8) \u304a\u306e\u304a\u306e8\u30d3\u30c3\u30c8\u3067\u8868\u73fe\r\n  0x15, 0x00, \/\/   LOGICAL_MINIMUM (0) \u30ad\u30fc\u30b3\u30fc\u30c9\u306e\u7bc4\u56f2\u306f\u3001\r\n  0x25, 0xdd, \/\/   LOGICAL_MAXIMUM (221) 0\uff5e221(0xdd)\u307e\u3067\r\n\r\n  0x05, 0x07, \/\/   USAGE_PAGE (Keyboard)\r\n  0x19, 0x00, \/\/     USAGE_MINIMUM (0\u306f\u30ad\u30fc\u30b3\u30fc\u30c9\u3067\u306f\u306a\u3044)\r\n  0x29, 0xdd, \/\/     USAGE_MAXIMUM (Keypad Hexadecimal\u307e\u3067)\r\n  0x81, 0x00, \/\/   INPUT (Data,Ary,Abs)\r\n  0xc0    \/\/ END_COLLECTION\r\n};\r\n\r\n#define REPORT_KEYS 6\r\ntypedef struct {\r\n  uint8_t modifiers;\r\n  uint8_t reserved;\r\n  uint8_t keys[REPORT_KEYS];\r\n} KeyReport;\r\n\r\nKeyReport keyReport;\r\n\r\nvoid sendReport() {\r\n  HID().SendReport(2, &amp;keyReport ,sizeof(KeyReport));\r\n}\r\n\r\nvoid releaseAll() {\r\n  memset(&amp;keyReport, 0, sizeof(KeyReport));\r\n  sendReport();\r\n}\r\n\r\nvoid report_press(uint8_t key, uint8_t mod) {\r\n  if (key != 0) {\r\n    bool already = false;\r\n    int empty_slot = -1;\r\n    for(int i = 0; i &lt; REPORT_KEYS; i++) {\r\n      if (keyReport.keys[i] == key)\r\n        already = true;\r\n      if (keyReport.keys[i] == 0 &amp;&amp; empty_slot &lt; 0)\r\n        empty_slot = i;      \r\n    }\r\n    if (empty_slot &lt; 0)  \/\/ error condition.\r\n      return;\r\n    if (!already)\r\n      keyReport.keys[empty_slot] = key;\r\n  }\r\n  keyReport.modifiers = mod;\r\n  sendReport();  \r\n}\r\n\r\nvoid report_release(uint8_t key, uint8_t mod) {\r\n  if (key != 0) {\r\n    for(int i = 0; i &lt; REPORT_KEYS; i++) {\r\n      if (keyReport.keys[i] == key) {\r\n        keyReport.keys[i] = 0;\r\n        break;\r\n      }\r\n    }\r\n  }\r\n  keyReport.modifiers = mod;\r\n  sendReport();  \r\n}\r\n\r\nclass KeyboardEvent : public KeyboardReportParser {\r\n  protected:\r\n    void OnControlKeysChanged(uint8_t before, uint8_t after);\r\n    void OnKeyPressed(uint8_t key) {};\r\n    void OnKeyDown  (uint8_t mod, uint8_t key) { report_press(key, mod);  };\r\n    void OnKeyUp  (uint8_t mod, uint8_t key) { report_release(key, mod); };\r\n};\r\n\r\nvoid KeyboardEvent::OnControlKeysChanged(uint8_t before, uint8_t after) {\r\n  uint8_t change = before ^ after;\r\n  if (change != 0) {\r\n    if (change &amp; after)\r\n      report_press(0, after);\r\n    else\r\n      report_release(0, after);      \r\n  }\r\n}\r\n\r\nUSB Usb;\r\nHIDBoot&lt;USB_HID_PROTOCOL_KEYBOARD&gt;    HidKeyboard(&amp;Usb);\r\nKeyboardEvent kbd;\r\n\r\nvoid error_blink(int period) {\r\n  for(;;) {\r\n    TXLED1; delay(period); TXLED0; delay(period);\r\n    RXLED1; delay(period); RXLED0; delay(period);\r\n  }  \r\n}\r\n\r\nvoid setup() {\r\n  static HIDSubDescriptor node(_hidReportDescriptor, sizeof(_hidReportDescriptor));\r\n  HID().AppendDescriptor(&amp;node);\r\n  delay(200);\r\n  releaseAll();\r\n  if (Usb.Init() == -1)\r\n    error_blink(400);\r\n  delay( 200 );\r\n  HidKeyboard.SetReportParser(0, &amp;kbd);\r\n}\r\n\r\nvoid loop() {\r\n  Usb.Task();\r\n}<\/pre>\n<h5>Keyboard\u30af\u30e9\u30b9\u306f\u4f7f\u308f\u306a\u3044<\/h5>\n<p>\u3044\u307e\u307e\u3067\u3001Arduino\u4ed8\u5c5e\u306eKeyboard\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u624b\u3092\u5165\u308c\u306a\u304c\u3089\u4f7f\u3063\u3066\u304d\u305f\u306e\u3060\u3051\u3069\u3001\u4eca\u56de\u306f\u5fc5\u8981\u306a\u8981\u7d20\u3092\u62fe\u3044\u4e0a\u3052\u3066\u30b9\u30b1\u30c3\u30c1\u5185\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u306b\u3057\u3001Keyboard\u30af\u30e9\u30b9\u3092\u4f7f\u308f\u306a\u3044\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u5fc5\u8981\u306a\u8981\u7d20\u306f\u4ee5\u4e0b\u306e4\u9805\u76ee\u3002<\/p>\n<ul>\n<li>Pro Micro\u3092HID\u5165\u529b\u30c7\u30d0\u30a4\u30b9\u3068\u3059\u308b\u305f\u3081\u306e\u30ec\u30dd\u30fc\u30c8\u8a18\u8ff0\u30c7\u30fc\u30bf(\u00a0<em>_hidReportDescriptor<\/em> )\u3002\u524d\u56de\u4f5c\u3063\u305fLED\u30ec\u30dd\u30fc\u30c8\u3092\u53d7\u3051\u308b\u3082\u306e\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3002<\/li>\n<li>\u30a4\u30f3\u30d7\u30c3\u30c8\u30ec\u30dd\u30fc\u30c8\u7528\u306e\u69cb\u9020\u4f53\u304a\u3088\u3073\u30c7\u30fc\u30bf (<em>KeyReport<\/em>\u69cb\u9020\u4f53 \u304a\u3088\u3073 \u5909\u6570<em>keyReport<\/em>)\u3002<\/li>\n<li>HID\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u30ec\u30dd\u30fc\u30c8\u3092\u9001\u4fe1\u3059\u308b\u95a2\u6570 (\u00a0<em>sendReport()<\/em> )\u3002<\/li>\n<li><em>setup()<\/em> \u306b\u3066\u3001<em>HID().AppendDescriptor(&amp;node);<\/em> \u3092\u4f7f\u3063\u3066\u30ec\u30dd\u30fc\u30c8\u8a18\u8ff0\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3002<\/li>\n<\/ul>\n<h5>USB Host Shield Library 2.0\u3068\u306e\u9023\u643a<\/h5>\n<p>\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30ab\u30bf\u30de\u30ea\u306e\u3088\u3046\u306a\u69cb\u9020\u306a\u306e\u3067\u3001\u8aad\u307f\u89e3\u3044\u3066\u3044\u304f\u306e\u304c\u9762\u5012\u3067\u3042\u308b\u3002\u4e0a\u3067\u4f7f\u3063\u305f\u30b5\u30f3\u30d7\u30eb\u30b9\u30b1\u30c3\u30c1\u3068\u540c\u3058\u3088\u3046\u306b\u3001<em>KeyboardReportParser<\/em>\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u305f<em>KeyboardEvent<\/em>\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u30573\u3064\u306evirtual\u30e1\u30f3\u30d0\u3092\u5b9f\u88c5\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u30b5\u30f3\u30d7\u30eb\u3068\u540c\u69d8\u306b\u3001loop() \u5185\u3067\u306f <em>Usb.Task();<\/em> \u3092\u547c\u3093\u3067MAX3421E\u306e\u72b6\u614b\u3068\u306e\u6574\u5408\u6027\u3092\u7dad\u6301\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<h6>void OnKeyDown (uint8_t mod, uint8_t key)<\/h6>\n<p>\u4fee\u98fe\u30ad\u30fc\u4ee5\u5916\u306e\u62bc\u4e0b\u30a4\u30d9\u30f3\u30c8\u3092\u51e6\u7406\u3059\u308b\u3002<em>report_press()<\/em> \u3092\u547c\u3093\u3067PC\u306b\u901a\u77e5\u3059\u308b\u3002<em>mod<\/em>\u304a\u3088\u3073<em>key<\/em>\u306e\u5185\u5bb9\u3092\u305d\u306e\u307e\u307e\u901a\u77e5\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<h6>void OnKeyUp (uint8_t mod, uint8_t key)<\/h6>\n<p>\u4fee\u98fe\u30ad\u30fc\u4ee5\u5916\u306e\u30ea\u30ea\u30fc\u30b9\u30a4\u30d9\u30f3\u30c8\u3092\u51e6\u7406\u3059\u308b\u3002<em>report_release()<\/em> \u3092\u547c\u3093\u3067PC\u306b\u901a\u77e5\u3059\u308b\u3002<\/p>\n<h6>void OnControlKeysChanged(uint8_t before, uint8_t after)<\/h6>\n<p>\u4fee\u98fe\u30ad\u30fc\u304c\u5909\u5316\u3057\u305f\u3068\u304d\u306b\u547c\u3070\u308c\u3001<em>before<\/em>\u306b\u524d\u56de\u60c5\u5831\u3001<em>after<\/em>\u306b\u4eca\u56de(\u547c\u3073\u51fa\u3057\u6642)\u60c5\u5831\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3002\u5b9f\u88c5\u3067\u306f\u3001\u524d\u56de\u3068\u5909\u5316\u3057\u3066\u3044\u308b\u30ad\u30fc\u3092\u62bd\u51fa\u3057\u3001\u30aa\u30f3\u306b\u306a\u3063\u305f\u306e\u306a\u3089\u00a0<em>report_press(after, 0);<\/em> \u3067\u3001\u4eca\u56de\u30aa\u30d5\u306b\u306a\u3063\u305f\u306e\u306a\u3089\u00a0\u00a0<em>report_release(after, 0);<\/em>\u3067\u305d\u308c\u305e\u308c\u901a\u77e5\u3057\u3066\u3044\u308b\u3002<\/p>\n<p><em>OnKeyDown()\u3068OnKeyUp()<\/em>\u306f\u4fee\u98fe\u30ad\u30fc\u5358\u72ec\u306e\u62bc\u4e0b\u6642\u306b\u306f\u547c\u3070\u308c\u306a\u3044\u306e\u3067\u3001\u305f\u3068\u3048\u3070GUI\u30ad\u30fc(Windows\u30ad\u30fc)\u3084Alt\u30ad\u30fc\u306e\u3088\u3046\u306b\u3001\u5358\u72ec\u3067Windows\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5f71\u97ff\u3059\u308b\u30ad\u30fc\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u901a\u77e5\u3059\u308b\u305f\u3081\u306b\u5b9f\u88c5\u3057\u305f\u3002<\/p>\n<p>\u30aa\u30f3\u306b\u306a\u3063\u305f\u304b\u30aa\u30d5\u306b\u306a\u3063\u305f\u304b\u306b\u3088\u3063\u3066<em>report_press()\u3068report_release()<\/em> \u3092\u547c\u3073\u5206\u3051\u3066\u3044\u308b\u304c\u3001\u3042\u308b2\u3064\u306e\u4fee\u98fe\u30ad\u30fc\u304c\u305d\u308c\u305e\u308c\u540c\u6642\u306b\u30aa\u30f3\u304b\u3089\u30aa\u30d5\u3001\u30aa\u30d5\u304b\u3089\u30aa\u30f3\u3068\u5909\u5316\u3057\u305f\u5834\u5408\u3001\u304b\u306a\u3089\u305a<em>report_press()<\/em> \u304c\u547c\u3070\u308c\u308b\u3088\u3046\u306b\u66f8\u3044\u305f\u3002\u60aa\u5f71\u97ff\u306f\u306a\u3044\u3068\u601d\u3046\u306e\u3060\u3051\u3069\u3002<\/p>\n<h5>void report_press(uint8_t key, uint8_t mod)\u3068void report_release(uint8_t key, uint8_t mod)<\/h5>\n<p>\u4eca\u56de\u306e\u30b9\u30b1\u30c3\u30c1\u3067\u306f\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u305d\u306e\u307e\u307e\u4e0a\u6d41\u5074\u306b\u6e21\u3059\u3060\u3051\u306a\u306e\u3067\u3001<em>KeyReport<\/em>\u69cb\u9020\u4f53\u306e\u30c7\u30fc\u30bf\u306b\u9069\u5b9c\u30ad\u30fc\u30b3\u30fc\u30c9\u3092\u30bb\u30c3\u30c8\u3057\u3001<em>sendReport()<\/em> \u306b\u3088\u3063\u3066\u901a\u77e5\u3059\u308b\u3060\u3051\u3002<\/p>\n<p>key == 0\u306e\u3068\u304d\u306f\u4fee\u98fe\u30ad\u30fc\u306e\u307f\u306e\u5909\u5316\u306a\u306e\u3067<em>keyreport.keys[]<\/em> \u306b\u306f\u89e6\u3089\u305a\u306b\u4fee\u98fe\u30ad\u30fc(\u00a0<em>keyReport.modifiers<\/em> )\u306e\u307f\u3092\u66f4\u65b0\u3057\u3066\u901a\u77e5\u3092\u884c\u3063\u3066\u3044\u308b\u3002<\/p>\n<h1>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h1>\n<p>\u30d3\u30eb\u30c9\u3057\u3066\u66f8\u304d\u8fbc\u3093\u3060\u3068\u3053\u308d\u3001\u610f\u56f3\u901a\u308a\u306b\u3075\u3064\u3046\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u52d5\u4f5c\u3057\u305f\u3002\u7279\u306b\u52d5\u753b\u3084\u5199\u771f\u3092\u8f09\u305b\u308b\u3088\u3046\u306a\u8a71\u3067\u3082\u306a\u3044\u3060\u308d\u3046\u3002BIOS\u64cd\u4f5c\u306f\u8a66\u3057\u3066\u3044\u306a\u3044\u304c\u3001Windows\u30ed\u30b0\u30aa\u30f3\u6642\u306eCtrl + Alt + Delete\u3068\u3044\u3046\u30b7\u30fc\u30b1\u30f3\u30b9\u304b\u3089\u540c\u3058\u3088\u3046\u306b\u4f7f\u3048\u305f\u3002<\/p>\n<p>\u7c21\u5358\u306a\u5fdc\u7528\u4f8b\u3068\u3057\u3066\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u914d\u5217\u3092\u5909\u3048\u308b\u3088\u3046\u306a\u51e6\u7406\u304c\u8003\u3048\u3089\u308c\u308b\u3002<em>OnKeyDown()\u3068OnKeyUp()<\/em>\u306e\u305d\u308c\u305e\u308c\u3067\u30ad\u30fc\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u30c6\u30fc\u30d6\u30eb\u3092\u5f15\u304d\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u4e2d\u8eab\u3092\u901a\u77e5\u306b\u4f7f\u3048\u3070\u3044\u3044\u3060\u308d\u3046\u3002\u305d\u306e\u969b\u3001Shift\u30ad\u30fc\u306e\u72b6\u614b\u3092\u898b\u305f\u308a\u64cd\u4f5c\u3057\u305f\u308a\u3059\u308b\u306e\u304c\u30ad\u30e2\u306b\u601d\u3048\u308b\u3002<\/p>\n<p>\u5225\u306e\u3082\u3046\u3061\u3087\u3063\u3068\u9ad8\u5ea6\u306a\u5fdc\u7528\u4f8b\u3068\u3057\u3066\u306f\u3001\u8907\u6570\u306e\u30ad\u30fc\u3092\u540c\u6642\u306b\u6253\u9375\u3057\u305f\u969b\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u5fdc\u3058\u3066\u6587\u5b57\u3092\u51fa\u3057\u5206\u3051\u308b\u3088\u3046\u306a\u5165\u529b\u65b9\u5f0f(nicola\u65b9\u5f0f\u306e\u89aa\u6307\u540c\u6642\u6253\u9375\u5165\u529b\u306a\u3069)\u3078\u306e\u5bfe\u5fdc\u3060\u308d\u3046\u3002\u3053\u306e\u3042\u305f\u308a\u3092\u3084\u3063\u3066\u307f\u3088\u3046\u304b\u306a\u3002<\/p>\n<p>\u3053\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u30d3\u30eb\u30c9\u3057\u305f\u3068\u304d\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u72b6\u6cc1\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3060\u3063\u305f\u3002<\/p>\n<pre class=\"nums:false lang:default decode:true \">\u6700\u592728672\u30d0\u30a4\u30c8\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u3046\u3061\u3001\u30b9\u30b1\u30c3\u30c1\u304c13644\u30d0\u30a4\u30c8\uff0847%\uff09\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\r\n\u6700\u59272560\u30d0\u30a4\u30c8\u306eRAM\u306e\u3046\u3061\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u304c466\u30d0\u30a4\u30c8\uff0818%\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u30672094\u30d0\u30a4\u30c8\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/pre>\n<p>USB Host Shield Library 2.0 \u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3092\u3051\u3063\u3053\u3046\u4f7f\u3063\u3066\u3044\u308b\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u9818\u57df\u3001\u30c7\u30fc\u30bf\u9818\u57df\u3068\u3082\u306b\u307e\u3060\u307e\u3060\u4f59\u88d5\u304c\u3042\u308b\u304b\u3089\u3001\u3044\u308d\u3044\u308d\u306a\u5fdc\u7528\u306b\u4f7f\u3048\u305d\u3046\u3067\u3042\u308b\u3002<\/p>\n<h1>\u8ffd\u8a18<\/h1>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=8193\" target=\"_blank\" rel=\"noopener noreferrer\">\u4e8c\u968e\u5efa\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f<\/a>\u3002\u5c0f\u3055\u304f\u306a\u308b\u306e\u3068\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u914d\u7dda\u30ef\u30a4\u30e4\u304c\u629c\u3051\u305f\u308a\u3059\u308b\u5fc3\u914d\u304c\u306a\u3044\u306e\u304c\u3044\u3044\u3068\u3053\u308d\u3002<\/p>\n<p>\u30b9\u30b1\u30c3\u30c1\u3092\u3061\u3087\u3063\u3068\u62e1\u5f35\u3057\u3066\u3001\u914d\u5217\u5909\u63db\u3059\u308b\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3082\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002<a href=\"\/blog\/?p=10510\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u3092\u53c2\u7167<\/a>\u3002<\/p>\n<h5 style=\"padding-top: 14px;padding-bottom: 14px;\">\u95a2\u9023\u3059\u308b\u6295\u7a3f<\/h5><div style=\"font-size: 14px; padding-left:1em\"><ul style=\"margin:0 0 0 1em; padding:0;\"><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?page_id=17197\">hoboNicola NK60\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u3064\u3044\u3066<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=16492\">hoboNicola\u306eMacOS\u5bfe\u5fdc<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=16453\">hoboNicola\u30e9\u30a4\u30d6\u30e9\u30ea 1.7.5\u7248\u306b\u3064\u3044\u3066<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=16363\">NK60, NK80\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3064\u3044\u3066(1.7.4\u7248)<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=16074\">RP2040\u3092\u4f7f\u3063\u305f\u89aa\u6307\u30b7\u30d5\u30c8\u30ad\u30fc\u30dc\u30fc\u30c9(nk60)\u306e\u88fd\u4f5c<\/a><\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 SparkFun Pro Micro(\u30b3\u30d4\u30fc\u54c1)\u306b\u5c0f\u3055\u306a\u30ad\u30fc\u30d1\u30c3\u30c9\u3092\u4ed8\u3051\u3066\u5c0f\u898f\u6a21\u306aHID\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u307f\u305f\u304c\u3001\u4eca\u5ea6\u306f\u3075\u3064\u3046\u306eUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u3064\u306a\u3044\u3067\u307f\u305f\u8a71\u3002 Arduino\u306bUSB\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u306f &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=16074\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">RP2040\u3092\u4f7f\u3063\u305f\u89aa\u6307\u30b7\u30d5\u30c8\u30ad\u30fc\u30dc\u30fc\u30c9(nk60)\u306e\u88fd\u4f5c<\/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,166,103,100],"class_list":["post-8092","post","type-post","status-publish","format-standard","hentry","category-pc","category-programming","tag-arduino","tag-miniuhs","tag-promicro","tag-100","has-post-thumbnail"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8092","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=8092"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8092\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}