{"id":1164,"date":"2010-08-28T04:02:04","date_gmt":"2010-08-27T19:02:04","guid":{"rendered":"http:\/\/hitoriblog.com\/?p=1164"},"modified":"2016-03-16T11:52:09","modified_gmt":"2016-03-16T02:52:09","slug":"netduino%e3%81%a7%e4%bd%bf%e3%81%88%e3%82%8b%e3%83%87%e3%83%90%e3%83%83%e3%82%ac%e3%81%ae%e4%be%bf%e5%88%a9%e3%81%95%e3%81%8c%e3%82%88%e3%81%8f%e5%88%86%e3%81%8b%e3%82%8b%e5%8b%95%e7%94%bb","status":"publish","type":"post","link":"http:\/\/hitoriblog.com\/?p=1164","title":{"rendered":"Netduino\u3067\u4f7f\u3048\u308b\u30c7\u30d0\u30c3\u30ac\u306e\u4fbf\u5229\u3055\u304c\u3088\u304f\u5206\u304b\u308b\u52d5\u753b"},"content":{"rendered":"<p>\u300cNetduino\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30ec\u30d9\u30eb\u30c7\u30d0\u30c3\u30ac\u304c\u4f7f\u3048\u308b\u3063\u3066\u3044\u3046\u3051\u3069\u3001\u4f55\u304c\u4fbf\u5229\u306a\u306e\u3088\uff1f\u300d<br \/>\n\u305d\u306e\u4fbf\u5229\u3055\u304c\u3088\u304f\u5206\u304b\u308b\u52d5\u753b\u3092\u64ae\u5f71\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>Microsoft Visual C# 2010 Express\u3067\u3001Netduino\u306e\u57fa\u677f\u4e0a\u306eLED\u3092\u30c1\u30ab\u30c1\u30ab\u70b9\u6ec5\u3055\u305b\u308b\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>[cc lang=&#8221;c#&#8221;]<br \/>\nusing System;<br \/>\nusing System.Threading;<br \/>\nusing Microsoft.SPOT;<br \/>\nusing Microsoft.SPOT.Hardware;<br \/>\nusing SecretLabs.NETMF.Hardware;<br \/>\nusing SecretLabs.NETMF.Hardware.Netduino;<\/p>\n<p>namespace NetduinoApplication1<br \/>\n{<br \/>\n    public class Program<br \/>\n    {<br \/>\n        public static void Main()<br \/>\n        {<br \/>\n            \/\/ write your code here<br \/>\n            OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);<br \/>\n            while (true)<br \/>\n            {<br \/>\n                led.Write(true);<br \/>\n                Thread.Sleep(250);<br \/>\n                led.Write(false);<br \/>\n                Thread.Sleep(250);<br \/>\n            }<br \/>\n        }<\/p>\n<p>    }<br \/>\n}<br \/>\n[\/cc]<\/p>\n<p>\u3055\u3089\u306b\u3001\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3002\u3053\u306e\u4f8b\u3067\u306f15\u884c\u76ee\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3068\u306f\u3001\u300c\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u958b\u767a\u6642\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52d5\u4f5c\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001 \u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u4e2d\u306b\u633f\u5165\u3055\u308c\u308b\u5f37\u5236\u5b9f\u884c\u505c\u6b62\u30b3\u30fc\u30c9\u300d\u306e\u3053\u3068\u3002\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306e\u5de6\u7aef\u306e\u7070\u8272\u306e\u90e8\u5206\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30af\u30ea\u30c3\u30af\u3057\u305f\u884c\u306b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u72b6\u614b\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u305f15\u884c\u76ee\u3067\u5b9f\u884c\u304c\u4e00\u6642\u505c\u6b62\u3002<br \/>\n\u6b21\u3044\u3067\u3001\u30b9\u30c6\u30c3\u30d7\u30a4\u30f3\uff08F11\uff09\u30dc\u30bf\u30f3\u3092\u30d7\u30c1\u30d7\u30c1\u62bc\u3057\u3066\u3044\u304f\u3068\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30921\u884c\u305a\u3064\u5b9f\u884c\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u540c\u6642\u306b\u3001\u5909\u6570\u306e\u5024\u306a\u3069\u3082\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u4e2d\u8eab\u3001\u4e38\u898b\u3048\u3067\u3059\uff01printf\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u5fc5\u8981\u7121\u3057\uff01<\/p>\n<p><object width=\"640\" height=\"385\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/Q5tK_2jqlFQ?fs=1&amp;hl=ja_JP\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><param name=\"allowscriptaccess\" value=\"always\"><\/param><\/object><\/p>\n<p>\u300cled.Write(true);\u300d\u3001\u300cled.Write(false);\u300d\u3092\u901a\u904e\u3059\u308b\u5ea6\u306b\u3001Netduino\u306e\u57fa\u677f\u4e0a\u306eLED\u304c\u70b9\u706f\u3001\u6d88\u706f\u3057\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52d5\u4f5c\u3092\u5b9f\u969b\u306b\u52d5\u304b\u3057\u306a\u304c\u3089\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c91\u884c\u305a\u3064\u3001\u3064\u3076\u3055\u306b\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u304cNetduino\u306e\u6700\u5927\u306e\u30c1\u30e3\u30fc\u30e0\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<br \/>\nArduino\u3067\u306e\u7d4c\u9a13\u304c\u9577\u3044\u4eba\u307b\u3069\u3001\u3042\u308a\u304c\u305f\u307f\u304c\u5206\u304b\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>\u305d\u3093\u306a\u30b9\u30c6\u30ad\u306aNetduino\u304c\u3001Amazon\u3067\u53d6\u308a\u6271\u3044\u958b\u59cb\uff01<\/h2>\n<p>\u306f\u3093\u3060\u3065\u3051\u30ab\u30d5\u30a7\u3067\u304a\u306a\u3058\u307f\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9\u3055\u3093\u304c\u8f38\u5165\u8ca9\u58f2\u3059\u308bNetduino\u3002<br \/>\nAmazon\u3067\u3082\u6271\u3044\u304c\u59cb\u307e\u308a\u307e\u3057\u305f\u3002<br \/>\n\u672c\u56fd\u3067\u3082$34.95\u306e\u3068\u3053\u308d\u3001\u4fa1\u683c3,495\u5186\uff01\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><iframe src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=hitoriblog0c-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=B003XT25TY\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe>\u3000<iframe src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=hitoriblog0c-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4891005831\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe>\u3000<iframe src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=hitoriblog0c-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4798021091\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cNetduino\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30ec\u30d9\u30eb\u30c7\u30d0\u30c3\u30ac\u304c\u4f7f\u3048\u308b\u3063\u3066\u3044\u3046\u3051\u3069\u3001\u4f55\u304c\u4fbf\u5229\u306a\u306e &#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[4,14,7],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6Z3gA-iM","_links":{"self":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1164"}],"collection":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1164"}],"version-history":[{"count":0,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1164\/revisions"}],"wp:attachment":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1164"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}