2015-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ï¼ï¼ï¼ã°ã©ãã£ãã¯ã¹ãå«ãã¦å®æããã ååã¾ã§ã®è¨äºã§ããã³ãã³çãã©ã±ããã§æã¤å¦çã®é¨åã¾ã§ãå®æãããããã°ã©ãã£ãã¯ã¹ã®é¨åãå®æãã¦ããªãã£ããããã²ã¼ã ãã®ãã®ã楽ãããã¨ã¯ã§ããªãã£ããä»åã¯ãã°ã©ãã£ãã¯ã¹ã®é¨åãå®è£ ããâ¦
ï¼ï¼Netwireã«å®è£ ãã ã·ã¹ãã å³ãã§ããã®ã§ããã®è¦ç´ ãWireã¨ãã¦å®ç¾©ããã°ãããä¸ã®å³ã§ãã¹ããã¯ã¯ãéåéãããã¼ã¯åç©ã§ãã£ããéåéã®ä¸è¶³ã¨éå°ï¼ã©ã¤ã³ãã¬ã¼ã¹ã«ã¼ãé»ãç·ããå¤ãããã¨ãã¦ããï¼ãç¥ããã¦ãããã®ãå ã»ã³ãµã§ãã£â¦
ï¼ï¼ã©ã¤ã³ãã¬ã¼ã¹ã«ã¼ãåæãã ä»åéçºããã®ã¯åçã®ãããªã©ã¤ã³ãã¬ã¼ã¹ã«ã¼ã§ããã ãã®ã©ã¤ã³ãã¬ã¼ã¹ã«ã¼ã¯äºã¤ã®å ã»ã³ãµãæãã¦ããããããã®å ã»ã³ãµã®éã«ã¯å°ç·ã¨ãªãé»ãç·ãå¼ããã¦ãããã©ã¤ã³ãã¬ã¼ã¹ã«ã¼ãæ£å¸¸ã«åãã¦ããã¨ãã¯â¦
ï¼ï¼ã·ã¹ãã æè ã¬ã´ããããã®åä½ã¯ããã»ã©è¤éã§ã¯ãªãããããã«ãããã°ã©ãã³ã°ãã§ããã»ã©ã«ã¯åç´ã§ã¯ãªããããã°ã©ã ãéçºããã¨ãã¯ãä»æ§ä½æãè¨è¨ãå®è£ ãæ¤è¨¼ãè©ä¾¡ã®æé ã辿ãå¿ è¦ããããããããéçºããããããã¯ãã¨ã¦ãç°¡åã§ãâ¦
ï¼ï¼ãããããä½æ ä»å¹´ã¯ãæ¢ é¨ã«å ¥ã£ã¦ãããæ®ã©æ´ãéãè¦ããã¨ããªãã£ãããä¸æ¨æ¥ã¨æ¨æ¥ã¯ãæ±äº¬ã¯çæã«è¥²ãããããã®ä¸¡æ¥ãè¬ç¾©ããªããä¼è°ãè¨å®ããã¦ããªãã£ãã®ã§ãä¸æ¨æ¥ãæ©æã®æ£æ©ãæ¸ã¾ããå¾ã涼ãæ±ãã¦ã天åé«åã«è»ãèµ°ããããâ¦
ï¼ï¼GitHubã«æ²è¼ BrickPiãHaskellããå©ç¨ããããã®å¤é¨é¢æ°ã¤ã³ã¿ãã§ã¼ã¹ãå®æãããã¨ãHaskellããLEGO社ã®ã¢ã¼ã¿ãã»ã³ãµã使ããããã«ãªããå¤é¨é¢æ°ã¤ã³ã¿ãã§ã¼ã¹ã¨Cè¨èªã§ã®ããã°ã©ã ã¯ãã®è¨äºã§æ²è¼ããã®ã«ã¯ç¡çãªã»ã©å¤§ããªãµã¤ãºã«ãªã£â¦
ï¼ï¼å¤é¨ã¤ã³ã¿ãã§ã¼ã¹ãä½æãã BrickPiãä»ãã¦Raspberry PiããLego MindstormsããHaskellã§å¶å¾¡ããæ¹æ³ãæ¤è¨ãã¦ãããããã¾ã§ã«å®è£ æ¹æ³ã¨ãã¦æ¬¡ã®äºéããããã¨ãåãã£ãã1) Cè¨èªã®éçºç°å¢ã§ã¯ãBrickPi.hã¨ãããããã¼ã»ãã¡ã¤ã«ãç¨æãâ¦
ï¼ï¼å¶å¾¡æ¹æ³ BrickPiã®æ©è½ãã ãã¶åãã£ã¦ããã®ã§ãããã¾ã§ã«å¾ãç¥è¦ããã¨ã«Haskellã§BrickPiã使ããããã«ãããCè¨èªã§ã®éçºç°å¢ã¯æ¬¡ã®å³ã®ããã«ãªã£ã¦ããã BrickPiå´ã®æ¹ã¯ããã¼ãã¦ã§ã¢ã¨ãããå¶å¾¡ãããã¡ã¼ã ã¦ã¨ã¢ã§æ§æããã¦ãããRaâ¦
ï¼ï¼ã¢ã¼ã¿é§åã®ããã®UARTãããã³ã¼ã«ä½æããã°ã©ã ååã®è¨äºã§ãRaspberry PiããBrickPiã¸ã¢ã¼ã¿ãé§åããã¨ãã®UARTãããã³ã«ãå¤æããã®ã§ãããã§ã¯ããã®ããã°ã©ã ãä½æãããUARTãããã³ã«ã®ä½æã§é¢åãããã®ã¯ããããæä½ãå ¥ããã¨â¦
ï¼ï¼BrickPiã¯å°ãè³¢ã Lego Mindstromsãç¨ãã¦ãããããä½æãããã¨æãããLego Mindstormsã«ä»å±ãã¦ãããã½ã³ã³NXTãããã¯EV3ã§ã¯èªç±ã«ã·ã¹ãã ãä½æã§ããªããããã§ãRaspberry Piãç¨ãã¦ãLego Mindstormsãå¶å¾¡ãããã¨ã«ãããããããCè¨â¦