{"id":80,"date":"2013-05-11T18:33:46","date_gmt":"2013-05-11T09:33:46","guid":{"rendered":"http:\/\/arduino.mx55.com\/?page_id=80"},"modified":"2013-05-25T18:11:30","modified_gmt":"2013-05-25T09:11:30","slug":"%ef%bc%91%e5%80%8b%e3%81%ae%ef%bd%8c%ef%bd%85%ef%bd%84%e3%82%92%e7%82%b9%e6%bb%85%e3%81%95%e3%81%9b%e3%82%8b","status":"publish","type":"page","link":"https:\/\/arduino.mx55.com\/?page_id=80","title":{"rendered":"\uff11\u500b\u306e\uff2c\uff25\uff24\u306e\u70b9\u6ec5"},"content":{"rendered":"<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/opRqTrw7yE0?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n\u306f\u3058\u3081\u306e\u4e00\u6b69\u3068\u3057\u3066\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u30dc\u30fc\u30c9Ver.1\u306eLED4\uff08D13\u306b\u63a5\u7d9a\uff09\u3092\u70b9\u6ec5\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u308a\u307e\u3059\u3002LED1\u500b\u3092\u5358\u4f53\u3067\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306f\u6975\u6027\uff08\u30a2\u30ce\u30fc\u30c9\u5074\u3092+\uff0c\u30ab\u30bd\u30fc\u30c9\u5074\u3092GND\uff09\u306b\u6ce8\u610f\u3057\u3001\u76f4\u5217\u306b330\u03a9\u7a0b\u5ea6\u306e\u62b5\u6297\u5668\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002\u6975\u6027\u304c\u9006\u3060\u3068\u5149\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-112\" alt=\"LED\u63a5\u7d9a\u56f3a\" src=\"https:\/\/arduino.mx55.com\/wp-content\/uploads\/2013\/05\/LED\u63a5\u7d9a\u56f3a-300x199.jpg\" width=\"300\" height=\"199\" srcset=\"https:\/\/arduino.mx55.com\/wp-content\/uploads\/2013\/05\/LED\u63a5\u7d9a\u56f3a-300x199.jpg 300w, https:\/\/arduino.mx55.com\/wp-content\/uploads\/2013\/05\/LED\u63a5\u7d9a\u56f3a.jpg 612w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><center>\u63a5\u7d9a\u56f3<\/center>\u30d7\u30ed\u30b0\u30e9\u30e0\u4f8b\uff09<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n\/\/ 1\u500b\u306e\uff2c\uff25\uff24\u3092\u70b9\u6ec5\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\r\n\r\nint LED = 13;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ LED\u304c\u63a5\u7d9a\u3055\u308c\u305f\u30d4\u30f3\u756a\u53f7\u309213\u3068\u3059\u308b\r\n\r\nvoid setup() {\r\n  pinMode(LED, OUTPUT);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ 13\u756a\u306e\u30d4\u30f3\u30e2\u30fc\u30c9\u3092\u300c\u51fa\u529b\u300d\u3068\u3059\u308b\r\n}\r\n\r\nvoid loop() {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/\u7121\u9650\u30eb\u30fc\u30d7\r\n  digitalWrite(LED, HIGH);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ \u70b9\u706f\r\n  delay(500);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ \u5f85\u6a5f\uff08\u5358\u4f4d\uff1ams\uff09\r\n  digitalWrite(LED,LOW);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ \u6d88\u706f\r\n  delay(500);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/ \u5f85\u6a5f\uff08\u5358\u4f4d\uff1ams\uff09\r\n}\r\n\/\/\u3053\u3053\u307e\u3067\r\n<\/pre>\n<p>\u3010\u89e3\u8aac\u3011<br \/>\nint\u306f\u6574\u6570\u578b\u306e\u5909\u6570\u306e\u578b\u5ba3\u8a00\u3067\u3059\u3002\u3053\u3053\u3067\u306fLED\u3068\u3044\u3046\u5909\u6570\u306b\u502413\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\nvoid\u3000setup(){} \u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u958b\u59cb\u6642\u306b1\u56de\u306e\u307f\u884c\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u307e\u3059\u3002<br \/>\npinMode\u6587\u306f\u5165\u51fa\u529b\u30dd\u30fc\u30c8\u3092\u5165\u529b\u306b\u3059\u308b\u304b\u51fa\u529b\u306b\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3059\u308b\u547d\u4ee4\u3067\u3059\u3002<br \/>\nvoid loop() {} \u306b\u306f\u7e70\u308a\u8fd4\u3057\u884c\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u307e\u3059\u3002\uff08\u7121\u9650\u30eb\u30fc\u30d7\u3068\u306a\u308a\u3001\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3057\u307e\u3059\uff09<br \/>\ndigitalWrite\u6587\u306f\u51fa\u529b\u30dd\u30fc\u30c8\u306bHIGH\u307e\u305f\u306fLOW\uff08+5V\u307e\u305f\u306f0V\uff09\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\ndelay\u6587\u306f\u305d\u306e\u307e\u307e\u5f85\u6a5f\u3055\u305b\u308b\u547d\u4ee4\u6587\u3067\u3059\u3002\u30ab\u30c3\u30b3\u5185\u306b\u306f\u6642\u9593\u3092\uff3bms\uff3d\uff08\u30df\u30ea\u79d2\uff09\u3067\u66f8\u304d\u307e\u3059\u3002<br \/>\n\uff08\u6ce8\u610f\uff11\uff09\u547d\u4ee4\u6587\u306e\u5f8c\u306b\u306f;\uff08\u30bb\u30df\u30b3\u30ed\u30f3\uff09\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\uff08\u6ce8\u610f\uff12\uff09\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306f\u5225\u306e\u6587\u5b57\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\uff08\u6ce8\u610f\uff13\uff09\u5168\u89d2\u6587\u5b57\uff08\u6f22\u5b57\u30fb\u3072\u3089\u304c\u306a\u30fb\u30ab\u30bf\u30ab\u30ca\u7b49\uff09\u306f\u30b3\u30e1\u30f3\u30c8\u4ee5\u5916\u3067\u4f7f\u3048\u307e\u305b\u3093\u3002<br \/>\n\uff08\u6ce8\u610f\uff14\uff09\/\/\uff08\u30b9\u30e9\u30c3\u30b7\u30e5\u30b9\u30e9\u30c3\u30b7\u30e5\uff09\u306f\u884c\u5358\u4f4d\u3067\u306e\u30b3\u30e1\u30f3\u30c8\uff08\u6ce8\u91c8\uff09\u3067\u3059\u3002\u8aac\u660e\u306a\u3069\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306e\u4e00\u6b69\u3068\u3057\u3066\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u30dc\u30fc\u30c9Ver.1\u306eLED4\uff08D13\u306b\u63a5\u7d9a\uff09\u3092\u70b9\u6ec5\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u308a\u307e\u3059\u3002LED1\u500b\u3092\u5358\u4f53\u3067\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306f\u6975\u6027\uff08\u30a2\u30ce\u30fc\u30c9\u5074\u3092+\uff0c\u30ab\u30bd\u30fc\u30c9\u5074\u3092GND\uff09\u306b\u6ce8\u610f\u3057\u3001\u76f4\u5217\u306b330\u03a9\u7a0b\u5ea6\u306e\u62b5\u6297 <a class=\"more-link\" href=\"https:\/\/arduino.mx55.com\/?page_id=80\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">  \uff11\u500b\u306e\uff2c\uff25\uff24\u306e\u70b9\u6ec5<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":16,"menu_order":5,"comment_status":"open","ping_status":"open","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-80","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/pages\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":21,"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/pages\/80\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/pages\/80\/revisions\/113"}],"up":[{"embeddable":true,"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=\/wp\/v2\/pages\/16"}],"wp:attachment":[{"href":"https:\/\/arduino.mx55.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}