ããã°ãã¯ãTomã§ããä»æ¥ãçµæ§å¤©æ°ãè¯ãæ¥ã§ããããããæ¥ä¸ã¯æããããã®å¤©æ°ã§ããããçããã¯ãã©ããã«åºãããã®ã§ããããï¼Tomãã«ããµã³ãé£ä¼ã§ç²ããã®ã§ä»æ¥ã¯å°ã骨ä¼ã¿ã§ãã
ãã¦ã骨ä¼ã¿ã¨è¨ã£ã¦ããTomã«ã¯ä¿®çãå¾
ã£ã¦ãã¾ãããã®ã¨ããåæ»ãã¦ããä¿®çã¯ãä½ã¨ãé£ä¼ä¸ã«çµãããããã¨æã£ã¦ãã¾ããå
æ¥ã®ã¢ã³ããã¢ãã©ã¤ã¶ã«å¼ãç¶ããæ¬æ¥ãã§ããLINNã®KAIRNãè¦äºå¾©æ´»ãããäºãåºæ¥ã¾ãããä»åã®è¨äºã¯çµæ§é·ãã®ã§ãä»æ¥ã¨ææ¥ã«åãã¦ã¬ãã¼ããã¾ããã
ï¼ï¼ã¤ããªã¯ã§ãã¸ã¢ããGETï¼
å®ã¯æè¿KAIRNã®ä¿®çãè¡ã£ã¦ããªãã£ãã®ã¯ãçç±ãï¼ã¤ããã¾ããä¸ã¤ã¯ããåãã®éãèåããããçãããçããã§çµæ§æéããªãã£ãäºãããã¦ãããä¸ã¤ã¯ããã®DAã³ã³ãã¼ã¿ã¼ãä¿®çããçºã«ã¯ããã¸ãã¯ã¢ãã©ã¤ã¶ãå¿
è¦ã ã¨æããUSBæ¥ç¶ã®ãã¸ã¢ããã¤ããªã¯ã§ç´65kåã§ã²ããããã®ã§ããããããå°çããã¾ã§å¾
ã£ã¦ããããã§ãã
ããããæ¨æ¥å°çãã¾ãããã¬ã¿ã¼ããã¯ã ã£ãã®ã§ãé£ä¼ã§é
ãã¦ãã¾ã£ãæ§ã§ãã
æ©éä¸ãéãã¦ã¿ã¾ãã
ä¸ã¯ããããªã«ã·ã³ãã«ãã¾ãæ¼ç®ã¨è¡¨ç¤ºã¯å
¨ã¦PCå´ã§è¡ãã®ã§ãä»æ¹ããã¾ãããã
ãã©ã¤ãã¼ãã¢ããªCDãä»ãã¦ããªãã®ã§ããããããããããã¦ã³ãã¼ããã¾ãããæåã¯è¨³ãå¤ããªãã®ã§ãã©ã¤ãã¼ãèªèãããããªãå°æãã¾ããããä½ã¨ãã¤ã³ã¹ãã¼ã«æåã
ï¼ï¼ã¢ã³ããçµã¿ç«ã¦ã
å æ¥ã¾ã§ãåºæ¿åä½ã«ãã¦ãåºæ¿ã®ãã¿ã¼ã³ããDAã³ã³ãã¼ã¿ä»¥éã®ã¢ããã°åè·¯ã追ãããã¦åè·¯å³ãæ¸ãã¦ãã¾ããããä»æ¥ãããã¸ã¢ãã§DAã³ã³ãã¼ã¿ã®å段ã®ãã¸ã¿ã«åè·¯ã追ãããã¾ãããã®çºã«ãã¾ãã¯ãã¢ã³ãã®åºæ¿ãæ¬ä½ã«æ»ãã¾ãã
ï¼ï¼ãã¸ã¢ãã§ãã¸ã¿ã«é¨ãæ¤è¨¼ãã
æ©éããã¸ã¢ããæ¥ç¶ããDAã³ã³ãã¼ã¿ã®ãã¸ã¿ã«å ¥åã§ããã¢ãã¬ã¹ããã¼ã¿ããããã»ã¬ã¯ã¿ããã¼ã¿ã©ã¤ããã¯ãªã¢ã®ä¿¡å·ã確èªãã¾ãã
ã¾ãã¯ããããã»ã¬ã¯ã¿ãããªã¬ã¼ã«ãã¦ãã¢ãã¬ã¹ãªã©ä¿¡å·ã確èªãã¾ãã
ããã¨ãããªã¬ã¼ã«ãªã£ã¦ãããããã»ã¬ã¯ã¿ï¼/CSï¼ã®ä¿¡å·ãæ¥ãªãäºãå¤ãã¾ããã
ï¼ï¼ãªã·ãã§ãåä¿¡å·ãå ¨ã¦ç¢ºèªããã
ãªãããã¸ã¿ã«ä¿¡å·ãæªãããç¹ã«ãããã»ã¬ã¯ã¿ãæªããã§ããããããããã»ã¬ã¯ã¿ãã¢ã¯ãã£ãã«ãªã£ã¦ããªããã°ããã¼ã¿ã¼ã¯ã»ããåºæ¥ã¾ãããããã
ããã§ãä»åº¦ã¯ãã¡ãã¨ãªã·ãã§åä¿¡å·ã®ç¶æ³ã確èªããäºã«ãã¾ããã
ï¼ï¼ãªã·ãã§ç¢ºèªããçµæãã£ã±ãï¼
ã¿ã¤ãã³ã°ã¯å¥ã¨ãã¦ãåä¿¡å·åºã¦ãããã©ããããªã¢ã³ã³ã®ããªã¥ã¼ã ãä¸ä¸ããä¸æãã¸ã¿ã«ä¿¡å·ãåºã¦ããããã¢ããã°ã®ãªã·ãã¹ã³ã¼ãã§ç¢ºèªãã¾ãã
ï¼ï¼ã¢ãã¬ã¹ï¼A0ãA2ï¼
â A0
ã¢ãã¬ã¹ã¯OKã§ãã
ï¼ï¼ãã¼ã¿
次ã¯ãã¼ã¿ä¿¡å·ã§ãã
ãã¼ã¿ãOKã§ãã
ï¼ï¼UPDã/WRã/CSä¿¡å·ã®ç¢ºèª
ã¤ã¥ãã¦/UPDã¨/WRï¼ã©ã¤ãï¼ä¿¡å·ã/CSãããã»ã¬ã¯ãã確èªãã¾ãã
UPDã¨/WRä¿¡å·ã¯OKã§ãã
ãããã»ã¬ã¯ãã¯ãUPDã®å転信å·ã§ãã®ã§ãUPDãåºã¦ããã®ã§OKã ã¨æã£ãããããããªã¢ã³ã³ãæä½ãã¦ããã¤ã«ãªã£ãã¾ã¾ã§ã¢ã¯ãã£ãã«ãªãã¾ããã
ããã¯å®å
¨ã«æªããã§ãã
次åã¯ãDAã³ã³ãã¼ã¿ã«ãã¸ã¿ã«ä¿¡å·ãéãPCF8574ã¨ã®éã®åè·¯å³ã追ãããã¾ãã
ã楽ãã¿ã«ï¼