{"id":2413,"date":"2014-05-11T10:03:15","date_gmt":"2014-05-11T01:03:15","guid":{"rendered":"http:\/\/www.tokyostyling.com\/pc\/?p=2413"},"modified":"2014-05-11T10:03:15","modified_gmt":"2014-05-11T01:03:15","slug":"post-2413","status":"publish","type":"post","link":"http:\/\/www.tokyostyling.com\/pc\/archives\/2413","title":{"rendered":"Echonetlite\u3067RaspberryPi\u3092L\u30c1\u30ab\uff01RaspberyPi\u306bJDK\u3001Processing\u3001Pi4J\u3001OpenECHO\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5dfb"},"content":{"rendered":"<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060438\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2417\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060438\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060438\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-546x409.jpg\" class=\"alignnone size-medium wp-image-2417\" alt=\"P5060438\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u524d\u56de\u3001Pi4J\u3067RaspberryPi\u306eGPIO\u3092\u4f7f\u3063\u3066L\u30c1\u30ab\u3082\u3067\u304d\u3001\u7121\u4e8b\u3001EchonetLite\u3092\u3059\u3093\u306a\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3068\u601d\u3044\u304d\u3084\u30fb\u30fb\u30fb<br \/>\n\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u306a\u308a\u307e\u3057\u305f\uff57<\/p>\n<h2>\u30d5\u30a1\u30af\u30c8<\/h2>\n<p>Echonetlite\u3092\u4f7f\u3046\u305f\u3081\u3001\u3044\u308d\u3044\u308d\u30cd\u30c3\u30c8\u3092\u8abf\u3079\u308b\u3046\u3061\u306b\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u5224\u308a\u307e\u3057\u305f<\/p>\n<ul>\n<li>EchonetLite\u306eJava\u7248\u306fOpenECHO\u3068\u3044\u3046\u3082\u306e<\/li>\n<li>OpenECHO\u306fProcessing\u3068\u3044\u3046Java\u4e0a\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u5fc5\u8981\u306a\u3053\u3068<\/li>\n<li>Processing\u306fopenJava\u3067\u306a\u304f\u3001OracleJava JDK8\u304c\u5fc5\u8981\u306a\u3053\u3068\u3001\u3053\u3053\u91cd\u8981\uff01<\/li>\n<li>Processing\u4e0a\u3067\u306fPi4J\u306eGPIO\u3092\u64cd\u4f5c\u3055\u305b\u308b\u306e\u306broot\u6a29\u9650\u304c\u5fc5\u8981\u306a\u3053\u3068<\/li>\n<li>Processing\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306fsketchbook\u3068\u3044\u3046\u3082\u306e\u3067\u3001OpenECHO\u306b\u306fsketchbook\u5bfe\u5fdc\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5b58\u5728<\/li>\n<li>L\u30c1\u30ab\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306fProcessing\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u8981<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u524d\u56de\u3001OpenJava\u3067Pi4J\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\u304c\u3001OracleJava JD\uff4b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3001\u30ae\u30e3\u30fc<\/p>\n<blockquote title=\"Supported Platforms - Processing\" cite=\"http:\/\/wiki.processing.org\/w\/Supported_Platforms\"><p>Due to incompatibilities, OpenJDK is not supported. You&#8217;ll need a regular Java release downloaded from Sun\/Oracle. The GNU Classpath, GCJ, GIJ combination will not work with Processing. OpenJDK and IcedTea also have problems, particularly with running sketches full screen or with multiple displays or even window sizing. Bottom line: use the version from Oracle.<\/p>\n<p><cite>via: <a href=\"http:\/\/wiki.processing.org\/w\/Supported_Platforms\" target=\"_blank\">Supported Platforms &#8211; Processing<\/a><\/cite><\/p><\/blockquote>\n<h2>\u6e96\u5099\u3059\u308b\u3082\u306e<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30a2\u30d7\u30ea\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u6e96\u5099\u3057\u307e\u3059<\/p>\n<ul>\n<li>OracleJava JDK8\uff1aJava\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059<\/li>\n<li>Processing\uff1aJava\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/li>\n<li>Pi4J\uff1aJava\u4e0a\u306eGPIO\u30a2\u30af\u30bb\u30b9<\/li>\n<li>OpenECHO\uff1aProcessing\u4e0a\u306eEchonetLite\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/li>\n<li>Sample.pde\uff1aLightning\u30af\u30e9\u30b9\u306eProcessing\u4e0a\u306eEchonetLite\u30d7\u30ed\u30b0\u30e9\u30e0<\/li>\n<\/ul>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>RaspberryPi\u306bJDK8\u3001Processing\u3001Pi4J\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306f\u3001\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3057\u307e\u3057\u305f<br \/>\n<a href=\"http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\">Processing and GPIOs on Raspberry Pi | \/dev\/xavier<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<p>\u3067\u3001\u6ce8\u610f\u3059\u308b\u3068\u3053\u308d\u3001\uff12\u70b9<\/p>\n<p>\uff11\u70b9\u76ee<br \/>\n\u3053\u3061\u3089\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u3053\u306e\u307e\u307e\u3067\u306f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f<br \/>\necho export JAVA_HOME=&#8221;\/opt\/java\/jdk1.8.0&#8243; &gt;&gt; .bashrc<br \/>\necho export PATH=$PATH:$JAVA_HOME\/bin &gt;&gt; .bashrc<br \/>\nsource .bashrc<\/p>\n<p>\u4fee\u6b63\u7248\u306f\u3053\u3061\u3089<br \/>\necho\u306e\u5ea6\u306b\u3001\u300csource .bashrc\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059<br \/>\necho export JAVA_HOME=&#8221;\/opt\/java\/jdk1.8.0&#8243; &gt;&gt; .bashrc<br \/>\nsource .bashrc<br \/>\necho export PATH=$PATH:$JAVA_HOME\/bin &gt;&gt; .bashrc<br \/>\nsource .bashrc<\/p>\n<p>\uff12\u70b9\u76ee<br \/>\nProcessing\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u306e\u3067\u6700\u65b0\u7248\u3092\u5165\u624b\u3057\u307e\u3059<br \/>\n\u73fe\u72b6\uff082014\/5\/8\uff09\u306f2.1.2\u3067\u3001Linux\u306e32\u30d3\u30c3\u30c8\u7248\u3092DL\u3057\u307e\u3059<br \/>\n\u3053\u3061\u3089<br \/>\n\u305d\u306e\u969b\u3001\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u7f6e\u304d\u63db\u3048\u3066\u5b9f\u884c\u3057\u307e\u3059<\/p>\n<h2>Echonetlite for Processing\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u3053\u3053\u304c\u3061\u3087\u3063\u3068\u5224\u308a\u306b\u304f\u3044\u3082\u306e\u3067\u3057\u305f<br \/>\n\u6700\u7d42\u7684\u306b\u306froot\u30d5\u30a9\u30eb\u30c0\u306b\u30e6\u30fc\u30b6pi\u306esketchbook\u30d5\u30a9\u30eb\u30c0\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059<br \/>\n\u624b\u9806<\/p>\n<ol>\n<li>\u307e\u305a\u306f\u3001\u3053\u3061\u3089\u306eGitHub\u30b5\u30a4\u30c8\u304b\u3089\u30c7\u30fc\u30bf\u4e38\u3054\u3068DL\u3057\u307e\u3059<br \/>\n<a href=\"https:\/\/github.com\/SonyCSL\/OpenECHO\">https:\/\/github.com\/SonyCSL\/OpenECHO<\/a><br \/>\n\u53f3\u30ab\u30e9\u30e0\u4e0b\u306eDownLoadZip\u30dc\u30bf\u30f3\u304b\u3089Zip\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3057\u307e\u3059\uff08OpenECHO-master.zip\uff09<\/li>\n<li>Zip\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059<\/li>\n<li>\u89e3\u51cd\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3089ControlP5\u3001OPENECHO\u306e\uff12\u3064\u306e\u30d5\u30a9\u30eb\u30c0\uff08OPENECHO-master\u2192Processing\u2192liblaries\uff09\u3092root\/sketchbook\/liblaries\/\u306e\u4e0b\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059<\/li>\n<li>\u3067\u3001sudo .\/processing\u3067\u8d77\u52d5\u3067\u304d\u308c\u3070OK<\/li>\n<\/ol>\n<h2>EchonetLite\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/h2>\n<p>Processing\u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u3053\u3061\u3089<br \/>\n\u3053\u308c\u3092Processing\u4e0a\u3067\u52d5\u4f5c\u3055\u305b\u307e\u3059<br \/>\n\u3068\u3044\u3063\u3066\u3082\u3001DL\u3057\u305fECHONETLITE\u306eZIP\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\uff08Tutrial4_LightEmulator.pde\uff09\u3092\u4fee\u6b63\u3057\u305f\u3082\u306e<br \/>\n\u306a\u305c\u304b\u30cd\u30c3\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306e\u30b3\u30d4\u30da\u3067\u306f\u52d5\u4f5c\u3057\u306a\u304b\u3063\u305f\uff57<br \/>\n\u4fee\u6b63\u3057\u305f\u8ffd\u52a0\u3057\u305f\u5185\u5bb9\u3068\u3044\u3063\u3066\u3082\u3001\u307b\u3093\u306e\u6570\u884c<\/p>\n<ul>\n<li>Pi4J\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8aad\u307f\u8fbc\u307f<\/li>\n<li>LED\u30e9\u30f3\u30d7\u306e\u521d\u671f\u8a2d\u5b9a\uff08\u8d77\u52d5\u6642\u306e\u6d88\u706f\uff09<\/li>\n<li>EchonetLite\u3067\u30b3\u30de\u30f3\u30c9\u304c\u6765\u305f\u3068\u304d\u306e\u70b9\u706f\u6d88\u706f\u51e6\u7406<\/li>\n<\/ul>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nimport java.io.IOException;\r\nimport processing.net.*;\r\nimport controlP5.*;\r\n\r\nimport com.sonycsl.echo.Echo;\r\nimport com.sonycsl.echo.node.EchoNode;\r\nimport com.sonycsl.echo.eoj.profile.NodeProfile;\r\nimport com.sonycsl.echo.eoj.device.DeviceObject;\r\n\r\nimport com.sonycsl.echo.processing.defaults.DefaultNodeProfile;\r\nimport com.sonycsl.echo.eoj.device.housingfacilities.GeneralLighting;\r\n\r\n\/\/\r\n\/\/\u3053\u3053\u304b\u3089\u8ffd\u52a0\r\n\/\/\r\nimport com.pi4j.io.gpio.GpioController;\r\nimport com.pi4j.io.gpio.GpioFactory;\r\nimport com.pi4j.io.gpio.GpioPinDigitalOutput;\r\nimport com.pi4j.io.gpio.PinState;\r\nimport com.pi4j.io.gpio.RaspiPin;\r\n\r\nGpioController gpio;\r\nGpioPinDigitalOutput pin;\r\n\/\/\r\n\/\/\u3053\u3053\u307e\u3067\u8ffd\u52a0\r\n\/\/\r\n\r\ncolor backgroundLightOnColor = color(255, 204, 0);\r\ncolor backgroundLightOffColor = color(0, 0, 0);\r\ncolor backgroundNow = backgroundLightOffColor;\r\n\r\n\/\/ \u7167\u660e\u30af\u30e9\u30b9\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\r\npublic class LightEmulator extends GeneralLighting {\r\nbyte&#x5B;] mStatus = {0x31}; \/\/ \u96fb\u6e90\u72b6\u614b\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fOFF\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002\r\nbyte&#x5B;] mLocation = {0x00}; \/\/ \u6a5f\u5668\u306e\u7f6e\u304d\u5834\u6240\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570\u3067\u3059\u3002\r\nbyte&#x5B;] mFaultStatus = {0x42}; \/\/ \u6a5f\u5668\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u6642\u306b\u3001\u305d\u306e\u30b3\u30fc\u30c9\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002\r\nbyte&#x5B;] mManufacturerCode = {0, 0, 0}; \/\/ \u30d9\u30f3\u30c0\u30fc\u56fa\u6709\u306e\u30e1\u30fc\u30ab\u30fc\u30b3\u30fc\u30c9\u3067\u3059\u3002\r\nbyte&#x5B;] mLightingMode = {0x42}; \/\/ \u7167\u660e\u306e\u30e2\u30fc\u30c9\u3067\u3059\u3002\r\n\r\nprotected boolean setOperationStatus(byte&#x5B;] edt) {\r\nmStatus&#x5B;0] = edt&#x5B;0] ;\r\n\/\/\u80cc\u666f\u8272\u3092\u5909\u66f4\r\nif(mStatus&#x5B;0] == 0x30){\r\nbackgroundNow = backgroundLightOnColor;\r\n\/\/\r\n\/\/\u3053\u306e\u884c\u8ffd\u52a0\r\n\/\/\r\npin.high();\r\n}else{\r\nbackgroundNow = backgroundLightOffColor;\r\n\/\/\r\n\/\/\u3053\u306e\u884c\u8ffd\u52a0\r\n\/\/\r\npin.low();\r\n}\r\n\/\/\u96fb\u6e90\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3053\u3068\u3092\u4ed6\u306e\u30ce\u30fc\u30c9\u306b\u901a\u77e5\u3057\u307e\u3059\r\ntry {\r\ninform().reqInformOperationStatus().send();\r\n}\r\ncatch (IOException e) {\r\ne.printStackTrace();\r\n}\r\nreturn true;\r\n}\r\n\r\nprotected byte&#x5B;] getOperationStatus() {\r\nreturn mStatus;\r\n}\r\n\r\nprotected boolean setInstallationLocation(byte&#x5B;] edt) {\r\nmLocation&#x5B;0] = edt&#x5B;0];\r\ntry {\r\ninform().reqInformInstallationLocation().send();\r\n}\r\ncatch (IOException e) {\r\ne.printStackTrace();\r\n}\r\nreturn true;\r\n}\r\n\r\nprotected byte&#x5B;] getInstallationLocation() {\r\nreturn mLocation;\r\n}\r\n\r\nprotected byte&#x5B;] getFaultStatus() {\r\nreturn mFaultStatus;\r\n}\r\n\r\nprotected byte&#x5B;] getManufacturerCode() {\r\nreturn mManufacturerCode;\r\n}\r\n\r\nprotected byte&#x5B;] getLightingModeSetting() {\r\nreturn mLightingMode;\r\n}\r\n\r\nprotected boolean setLightingModeSetting(byte&#x5B;] edt) {\r\nmLightingMode&#x5B;0] = edt&#x5B;0];\r\nreturn true;\r\n}\r\n\r\npublic String toString() {\r\nif (mStatus&#x5B;0] == 0x31) {\r\nreturn &quot;Light Emulator(Off)&quot;;\r\n}\r\nelse {\r\nreturn &quot;Light Emulator(On)&quot;;\r\n}\r\n}\r\n\r\n}\r\n\r\nControlP5 cp5 ;\r\nLightEmulator light ;\r\nString&#x5B;] btnStrs = {\r\n&quot;SWITCH_ON&quot;, &quot;SWITCH_OFF&quot;\r\n};\r\n\r\nvoid setup() {\r\nsize(210, (btnStrs.length)*30);\r\nframeRate(30);\r\n\r\n\/\/ \u6b21\u306b\u3001\u5b66\u7fd2\u3068\u518d\u751f\u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\r\ncp5 = new ControlP5(this) ;\r\n\/\/ \u9001\u4fe1\u7528\u306e\u30dc\u30bf\u30f3\u3092\u5de6\u306b\u3001\u5b66\u7fd2\u7528\u306e\u30dc\u30bf\u30f3\u3092\u53f3\u306b\u8868\u793a\u3057\u307e\u3059\u3002\r\nfor ( int bi=0;bi&amp;lt;btnStrs.length;++bi ) {\r\ncp5.addButton(btnStrs&#x5B;bi], 0, 0, (bi)*30, 100, 25) ;\r\n}\r\n\r\n\/\/ System.out\u306b\u30ed\u30b0\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\r\n\/\/Echo.addEventListener( new Echo.Logger(System.out) ) ;\r\n\r\n\/\/ \u81ea\u5206\u81ea\u8eab\u304cLightEmulator\u3092\u542b\u3080\u30ce\u30fc\u30c9\u306b\u306a\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u3087\u3046\u3002\r\ntry {\r\nlight = new LightEmulator() ;\r\nEcho.start( new DefaultNodeProfile(), new DeviceObject&#x5B;] {\r\nlight\r\n}\r\n);\r\n}\r\ncatch( IOException e) {\r\ne.printStackTrace();\r\n}\r\n\/\/\r\n\/\/\u3053\u306e\uff12\u884c\u8ffd\u52a0\r\n\/\/\r\ngpio = GpioFactory.getInstance();\r\npin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_01, &quot;MyLed&quot;, PinState.LOW);\r\n}\r\n\r\nvoid draw() {\r\nbackground(backgroundNow);\r\n}\r\n\r\n\/\/ \u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u305f\u6642\u306e\u51e6\u7406\u3067\u3059\u3002\r\n\/\/ \u203bControlP5\u3067\u306f\u30dc\u30bf\u30f3\u306e\u30e9\u30d9\u30eb\u304c\u305d\u306e\u307e\u307e\u95a2\u6570\u540d\u306b\u306a\u308a\u307e\u3059\u3002\r\npublic void SWITCH_ON(int theValue) {\r\ntry {\r\nlight.set().reqSetOperationStatus(new byte&#x5B;]{0x30}).send();\r\n}\r\ncatch(IOException e) {\r\ne.printStackTrace();\r\n}\r\n}\r\npublic void SWITCH_OFF(int theValue) {\r\ntry {\r\nlight.set().reqSetOperationStatus(new byte&#x5B;]{0x31}).send();\r\n}\r\ncatch(IOException e) {\r\ne.printStackTrace();\r\n}\r\n}\r\n<\/pre>\n<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060435\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2414\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060435\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060435\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435-546x409.jpg\" class=\"alignnone size-medium wp-image-2414\" alt=\"P5060435\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060435.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060436\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2415\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060436\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060436\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436-546x409.jpg\" class=\"alignnone size-medium wp-image-2415\" alt=\"P5060436\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060436.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<h2>\u8d77\u52d5<\/h2>\n<p>Processing\u4e0a\u304b\u3089\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3059\u308b\u3068\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u3067\u308c\u3070OK\uff01<br \/>\n\u30c0\u30a4\u30a2\u30ed\u30b0\u4e0a\u306eON\u30fbOFF\u30b9\u30a4\u30c3\u30c1\u3067\u3001LED\u304c\u70b9\u706f\u3059\u308c\u3070\u6210\u529f\uff01<br \/>\n<a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060437\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2416\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060437\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060437\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437-546x409.jpg\" class=\"alignnone size-medium wp-image-2416\" alt=\"P5060437\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060437.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060438\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2417\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060438\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060438\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-546x409.jpg\" class=\"alignnone size-medium wp-image-2417\" alt=\"P5060438\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060439\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2418\" data-permalink=\"http:\/\/www.tokyostyling.com\/pc\/archives\/2413\/p5060439\" data-orig-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439.jpg\" data-orig-size=\"640,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"P5060439\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439-480x360.jpg\" data-large-file=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439-546x409.jpg\" class=\"alignnone size-medium wp-image-2418\" alt=\"P5060439\" src=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439-480x360.jpg\" width=\"480\" height=\"360\" srcset=\"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439-480x360.jpg 480w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439-546x409.jpg 546w, http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060439.jpg 640w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<h2>\u3084\u308b\u3053\u3068\u30ea\u30b9\u30c8<\/h2>\n<ul>\n\t<s><\/p>\n<li>RaspberryPi\u8cfc\u5165<\/li>\n<li>SD\u30ab\u30fc\u30c9\u8cfc\u5165<\/li>\n<li>SD\u306bOS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>\u8a2d\u5b9a\u30fb\u52d5\u4f5c\u78ba\u8a8d\u3010\u8ffd\u52a0\u3011<\/li>\n<li>Pi4J\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u52d5\u4f5c\u78ba\u8a8d<\/li>\n<li>LED\u56de\u8def\u4f5c\u6210\u30fb\u70b9\u706f\u78ba\u8a8d<\/li>\n<li>EchonetLite for Java\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<p><\/s><\/p>\n<li>Kadecot\u3067\u30aa\u30f3\u30aa\u30d5\u64cd\u4f5c<\/li>\n<li>\u6709\u7ddaLAN\u304b\u3089\u7121\u7ddaLAN\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5909\u66f4<\/li>\n<li>100V\u96fb\u6e90\u5236\u5fa1\u78ba\u8a8d<\/li>\n<li>\u3059\u3079\u3066OK\uff57<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u306a\u305c\u304b\u30cd\u30c3\u30c8\u4e0a\u306e\u30b3\u30fc\u30c9\u3067\u306f\u52d5\u4f5c\u305b\u305a\u3001\u52d5\u4f5c\u3055\u305b\u308b\u307e\u3067\u6642\u9593\u3092\u53d6\u3089\u308c\u307e\u3057\u305f\u304c\u3001\u4f5c\u696d\u81ea\u8eab\u306f\u7c21\u5358\u306a\u3082\u306e\u3067\u3059<\/p>\n<h2>\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8<\/h2>\n<p><a href=\"http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\">Processing and GPIOs on Raspberry Pi | \/dev\/xavier<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/xseignard.github.io\/2013\/04\/24\/processing-and-gpios-on-raspberry-pi\/\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<p><a href=\"http:\/\/pi4j.com\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/pi4j.com\/\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/pi4j.com\/\" target=\"_blank\"><\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/pi4j.com\/\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/pi4j.com\/\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<p><a href=\"http:\/\/ch.nicovideo.jp\/issekiamp\/blomaga\/ar327030\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/ch.nicovideo.jp\/issekiamp\/blomaga\/ar327030\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/ch.nicovideo.jp\/issekiamp\/blomaga\/ar327030\" target=\"_blank\">openECHO\uff01\u30db\u30fc\u30e0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u3068\u5316\u3057\u305f\u30e9\u30ba\u30d1\u30a4:\u4f55\u304b\u304c\u3067\u304d\u305f\u3089\u3068\u308a\u3042\u3048\u305a\u307e\u3068\u3081\u308b\u30d6\u30ed\u30b0 &#8211; \u30d6\u30ed\u30de\u30ac<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/ch.nicovideo.jp\/issekiamp\/blomaga\/ar327030\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/ch.nicovideo.jp\/issekiamp\/blomaga\/ar327030\" alt=\"\" \/><\/a><br \/><span style=\"color: #808080;font-size: 80%;\">Tutrial4_LightEmulator &#8230;<\/span><br style=\"clear:both;\" \/><\/p>\n<p><a href=\"http:\/\/wiki.processing.org\/w\/Supported_Platforms\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/wiki.processing.org\/w\/Supported_Platforms\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/wiki.processing.org\/w\/Supported_Platforms\" target=\"_blank\">Supported Platforms &#8211; Processing<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/wiki.processing.org\/w\/Supported_Platforms\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/wiki.processing.org\/w\/Supported_Platforms\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<p><a href=\"http:\/\/make-muda.weblike.jp\/2014\/02\/751\/#more-751\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" align=\"left\" border=\"0\" src=\"http:\/\/capture.heartrails.com\/150x130\/shadow?http:\/\/make-muda.weblike.jp\/2014\/02\/751\/#more-751\" alt=\"\" width=\"150\" height=\"130\" \/><\/a><a style=\"color:#0070C5;\" href=\"http:\/\/make-muda.weblike.jp\/2014\/02\/751\/#more-751\" target=\"_blank\">Raspberry Pi + OpenECHO\u3067L\u30c1\u30ab | MUDA\u306a\u3053\u3068\u3092\u3057\u3088\u3046\u3002<\/a><a href=\"http:\/\/b.hatena.ne.jp\/entry\/http:\/\/make-muda.weblike.jp\/2014\/02\/751\/#more-751\" target=\"_blank\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/http:\/\/make-muda.weblike.jp\/2014\/02\/751\/#more-751\" alt=\"\" \/><\/a><br style=\"clear:both;\" \/><\/p>\n<h2>\u60c5\u5831<\/h2>\n<div class=\"kaerebalink-box\" style=\"text-align: left; padding-bottom: 20px; font-size: small; \/zoom: 1; overflow: hidden;\">\n<div class=\"kaerebalink-image\" style=\"float: left; margin: 0 15px 10px 0;\"><a href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=396905&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;s_v=b5Rz2P0601xu&amp;url=http%3A%2F%2Fwww.amazon.co.jp%2Fexec%2Fobidos%2FASIN%2FB00CBWMXVE%2Fref%3Dnosim\" target=\"_blank\" rel=\"nofollow\"><img decoding=\"async\" style=\"border: none;\" alt=\"\" src=\"http:\/\/ecx.images-amazon.com\/images\/I\/51IYHYasekL._SL160_.jpg\" \/><\/a><\/div>\n<div class=\"kaerebalink-info\" style=\"line-height: 120%; \/zoom: 1; overflow: hidden;\">\n<div class=\"kaerebalink-name\" style=\"margin-bottom: 10px; line-height: 120%;\"><a href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=396905&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;s_v=b5Rz2P0601xu&amp;url=http%3A%2F%2Fwww.amazon.co.jp%2Fexec%2Fobidos%2FASIN%2FB00CBWMXVE%2Fref%3Dnosim\" target=\"_blank\" rel=\"nofollow\">Raspberry Pi Type B 512MB<\/a><\/p>\n<div class=\"kaerebalink-powered-date\" style=\"font-size: 8pt; margin-top: 5px; font-family: verdana; line-height: 120%;\">posted with <a href=\"http:\/\/kaereba.com\" target=\"_blank\" rel=\"nofollow\">\u30ab\u30a8\u30ec\u30d0<\/a><\/div>\n<\/div>\n<div class=\"kaerebalink-detail\" style=\"margin-bottom: 5px;\">RS Components Ltd (\u30bd\u30fc\u30b9\u30de\u30fc\u30ad\u30f3\u30b0\u53ca\u3073\u8ca9\u58f2 Umemoto LLP)<\/div>\n<div class=\"kaerebalink-link1\" style=\"margin-top: 10px;\">\n<div class=\"shoplinkamazon\" style=\"display: inline; margin-right: 5px;\"><a href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=396905&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;s_v=b5Rz2P0601xu&amp;url=http%3A%2F%2Fwww.amazon.co.jp%2Fgp%2Fsearch%3Fkeywords%3DRaspberry%2520Pi%2520Type%2520B%2520512MB%26__mk_ja_JP%3D%2583J%2583%255E%2583J%2583i\" target=\"_blank\" rel=\"nofollow\">Amazon\u3067\u8cfc\u5165<\/a><\/div>\n<div class=\"shoplinkrakuten\" style=\"display: inline; margin-right: 5px;\"><a title=\"\u697d\u5929\u5e02\u5834\" href=\"http:\/\/c.af.moshimo.com\/af\/c\/click?a_id=396903&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;s_v=b5Rz2P0601xu&amp;url=http%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FRaspberry%2520Pi%2520Type%2520B%2520512MB%2F-%2Ff.1-p.1-s.1-sf.0-st.A-v.2%3Fx%3D0\" target=\"_blank\" rel=\"nofollow\">\u697d\u5929\u5e02\u5834\u3067\u8cfc\u5165<\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"booklink-footer\" style=\"clear: left;\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u524d\u56de\u3001Pi4J\u3067RaspberryPi\u306eGPIO\u3092\u4f7f\u3063\u3066L\u30c1\u30ab\u3082\u3067\u304d\u3001\u7121\u4e8b\u3001EchonetLite\u3092\u3059\u3093\u306a\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3068\u601d\u3044\u304d\u3084\u30fb\u30fb\u30fb \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u306a\u308a\u307e\u3057\u305f\uff57 \u30d5\u30a1\u30af\u30c8 Echonetlite\u3092\u4f7f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2417,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[7,15],"tags":[],"class_list":["post-2413","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gadget","category-r"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"http:\/\/www.tokyostyling.com\/pc\/wp-content\/uploads\/2014\/05\/P5060438.jpg","jetpack_shortlink":"https:\/\/wp.me\/p1TwBu-CV","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/2413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/comments?post=2413"}],"version-history":[{"count":10,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/2413\/revisions"}],"predecessor-version":[{"id":2431,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/posts\/2413\/revisions\/2431"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/media\/2417"}],"wp:attachment":[{"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/media?parent=2413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/categories?post=2413"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tokyostyling.com\/pc\/wp-json\/wp\/v2\/tags?post=2413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}