ã³ãŒãããŒããŒã㯠ããã¹ããå ¥åã§ããããã€ã¹ã§ãããéåžžã®ãã«ãµã€ãºã®qwertyããŒããŒããšã¯ç°ãªããã³ãŒãã®ãã¿ã³ã«ã¯å°æ°ã®ãã¿ã³ããããŸãïŒéåžžã¯3ã5åãã12åïŒã ãã®å Žåãèšå·ã¯1ã€ã§ã¯ãªãè€æ°ã®ãã¿ã³ïŒã³ãŒãïŒãåæã«æŒãããšã§å ¥åãããŸãã ãŸããæåã¯1ã€ã§ã¯ãªããè€æ°ã®é£ç¶ããã¿ããã§å ¥åã§ããŸãã ã³ã³ãã¥ãŒã¿ãŒã®ããŒããŒãã§ã¯ãã³ãŒããæã 䜿çšããŸããããšãã°ã察å¿ããããŒãšã·ãããåæã«æŒããŠå€§æåãå ¥åããŸãã ãŸãã¯ãShift + Ctrl + SãŸãã¯Ctrl + Alt + Delãªã©ã®ããŸããŸãªåªæã䜿çšããŸãã 1ã€ã®ãã¿ã³ã ãã§ã©ã®ã³ãŒãããŒããŒããçµã¿ç«ãŠãããšãã§ããŸããïŒ å€ãè¯ãæ代ã®å®çžŸã®ããã¢ãŒã«ã¹ä¿¡å·ãæãåºããŠãã ããã
ãã¡ãããã¢ãŒã«ã¹ç¬Šå·ã¯ããã¹ãã®å®å šãªã»ããã«ã¯ããŸãé©ããŠããŸããããArduinoã«åºã¥ããŠå®å šã«æå³ã®ããäœæ¥ããã€ã¹ãäœæããäŸã«ã¯æé©ã§ãã ãããã£ãŠããã¬ãŒãã³ã°ã®ãµã³ãã«ãäœæããã®ã§ã¯ãªããæ¬æ Œçãªåçšããã€ã¹ã®ãããã¿ã€ããäœæããŸãã ãã¿ã³ã®æŒäžãèšå·ã«å€ããã ãã§ãªããã¬ã€ã¢ãŠããåãæ¿ããæ©äŒãäžãããŠãŒã¶ãŒã®ã¢ã¯ãã£ããã£ããªãå Žåã¯ã¹ãªãŒãã¢ãŒãã«ç§»è¡ããå¿ èŠããããŸãã ããã«ããŠãŒã¶ãŒãããŒããŒãã®çŸåšã®ç¶æ ãèªèã§ããããã«ããäœããã®ãã£ãŒãããã¯ãå¿ èŠã§ãã
ããã€ã¹ã®ã¢ã«ãã¡çã®éçºããå§ããŸãããã ã¢ã«ãã¡ã®å Žåã次ã®ãã®ãå¿ èŠã§ãã
-ArduinoäºæããŒã
-ãã¿ã³
-LED
-330ãªãŒã ã®æµæ
-1kΩæµæ
-10kΩæµæ
-ãã¬ããããŒã
-ãã¬ããããŒãçšã®7ã€ã®é ç·
-USB / miniUSBã±ãŒãã«
ããã€ã¹ã®åäœã
ãã€ã³ããšããã·ã¥ãèªèããããžãã¯ã¯æãç°¡åã§ãã ãã¿ã³ãäžå®æéæªæºæŒãããå Žåãããã€ã¹ã¯ä¿¡å·ããã€ã³ããšããŠæ€åºããŸãã é·ãå Žå-ããã·ã¥ã®ãããªã
é·æŒã-ããŒããŒãã¬ã€ã¢ãŠããããªã«æåããã©ãã³æåã«ããŸãã¯ãã®éã«åãæ¿ããŸãã ã€ã³ãžã±ãŒã¿ãšããŠLEDã䜿çšããŸãã 調å LEDã¯ãããªã«æåã®ã¬ã€ã¢ãŠããã€ãŸãã©ãã³èªãæå³ããŸãã å°å·äžã«ãã¿ã³ãæŒããšãLEDãç¹ç¯ããŸãïŒã©ãã³èªã®ããªã«æåããªã³ã®å Žå-å察ã«ãªãã«ãªããŸãïŒã
ããŒã1åéæŒãããªãã£ãå Žåãããã€ã¹ã¯ã¹ãªãŒãã¢ãŒãã«ãªããŸãã ã¹ãªãŒãã¢ãŒãã§ã¯ããã€ãªãŒãããã£ããç¹æ» ãããŸãã äŒæ¢ç¶æ ãçµäº-ãã¿ã³ãé·æŒãããŸãã ãã®ãã¿ã³ãæŒããšãããã€ã¹ãäŒæ¢ç¶æ ããæãåºãã®ã«ååã«ãªããšãLEDãæ倧ã®æããã§ç¹ç¯ããããã€ã¹ãèµ·åããŠãã¿ã³ãæŸãããšãã§ããããšãæ確ã«ããŸãã
ã¹ã±ããã¹ããŒã ïŒ
äžå³ã«ç€ºãåè·¯ãçµã¿ç«ãŠãŸãããã åè·¯äžã®é»ãé ç·ã¯ãã°ã©ã³ããã«è¡ããèµ€ã-+ 5Vã«ãªããŸãã ãã€ãªãŒãã®è² ã®çãåºåããã°ã©ã³ããã«æ¥ç¶ãããããã«ããã€ãªãŒããæ¥ç¶ããå¿ èŠãããããšãå¿ããªãã§ãã ããã
ã¹ã±ããã¹ããŒã ã¯ãè«ççã«2ã€ã®åè·¯ïŒãã€ãªãŒããšãã¿ã³ïŒã«åå²ã§ããŸãã
LEDã®å éšæµæã¯éåžžã«å°ãããããçŽæ¥æ¥ç¶ãããšãåè·¯ã§çºçãã倧ããªé»æµã«ãã£ãŠãã€ã¯ãã³ã³ãããŒã©ãŒããŒããçŒæããå¯èœæ§ããããŸãã ãããã£ãŠã330ãªãŒã ã®å°ããªæµæãæ¥ç¶ããããšã«ãããé»æµãå¶éããŸãã é»æµå€ã¯ããªãŒã ã®æ³åã䜿çšããŠç°¡åã«æšå®ã§ããŸãããªãŒã ã®æ³åã§ã¯ãé»æµã¯é»å§ãšæµæã®æ¯ã«çããããšã瀺ããŠããŸãïŒI = V / R ãã®å Žåã0ã®LEDã®æµæãåããåŒã«åŸã£ãŠ5ãã«ã/ 330ãªãŒã = 15.1515 ...ããªã¢ã³ãã¢ã«çããé»æµãååŸããŸãã ãã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒãã¯ãæ倧40 mAïŒãã€ãªãŒããšãã€ã¯ãã³ã³ãããŒã©ãŒãèããããé-ä»æ§ãåç §ïŒãŸã§ã®é»æµã«èããããšãã§ããããã15-16 mAã¯å®å šã«èš±å®¹ç¯å²å ã§ãã
ãã¿ã³ãã§ãŒã³ã¯ããå°ãè€éã§ãã æµæåšR2ã«ã€ããŠã¯ãããã§ãã¹ãŠãæããã§ãã æŒãããã¿ã³ãä»ããŠé»æµãå¶éããããã«æ¥ç¶ããŸãã ãªãæµæåšR3ãå¿ èŠãªã®ã§ããïŒ ããžã¿ã«ããŒãã®ãç©çããç解ããŠã¿ãŸãããã ã°ã©ã³ããããŒã7ã«æ¥ç¶ãããã®æµæãªãã§ãã¿ã³ãæ¥ç¶ãããšããã¿ã³ãæŒãããŠããªãå Žåãé»æµãæµããªã7çªç®ã®ããŒãã«éè²ã®é ç·ã®ã¿ãæ¥ç¶ãããŸãã ããã¯ãããŒãã«äœãæ¥ç¶ãããŠããªãããšãæå³ãããšæãããŸãã ãŸã£ãããªãïŒ ã¢ã³ããã®åœ¹å²ãæãããŠãããã®æçš¿ã¯ãäž»é»æºãã³ã³ãã¥ãŒã¿ãŒãªã©ãããªãŒããåéãå§ããŸãã ãã®çµæãããžã¿ã«ã¬ããŒãžãè«ççãªãŒããš1ã®ç¡ç§©åºãªã·ãŒã±ã³ã¹ãããŒãã®å ¥åã«ãŸãæ£ããããŸã-åžžã«ã©ã³ãã ã«ãã¿ã³ãæŒãããæŸããããããã®ããã«ã æµæR3ã¯ããã¿ã³ãæŒããªããšãã«ããŒãã«å®å šã«ç¹å®ã®é»äœïŒã¢ãŒã¹é»äœãè«çãŒãïŒãå±ãããã«ãããŒãã«ã¢ãŒã¹ããããããŸãã ãã¿ã³ãéãããšã+ 5VãããŒãã«ç§»åããŸã-è«ççãªããŠããããã
ã¢ãŒã«ã¹ããŒããŒãã®ã¹ã±ããã®ãœãŒã¹ã³ãŒãïŒ
#define BUTTON 7 #define LED 11 //æ倧ãã€ã³ãæç¶æéãmsã 1/4ç§ä»¥äžéãæŒããããã¹ãŠããã€ã³ãã§ãã //æ®ãã¯ããã·ã¥ã§ãã #define MAX_DOT_PRESS_TIME 250 //ã¬ã€ã¢ãŠããåãæ¿ããã«ã¯ããã¿ã³ã2ç§éæŒãç¶ããŸãã #define SWITCH_LAYOUT_TIME 2000 //ã¬ã¿ãŒå ã®ããããšããã·ã¥ã®éã®æ倧äŒæ¢æéã¯0.3ç§ã§ãã //äžæåæ¢ãé·ããã°ãæåã®å ¥åãå®äºãããšã¿ãªãã次ã®æåã®å ¥åã«é²ã¿ãŸãã #define DELIMITER_TIME 300 //ãã¿ã³ã1å以äžæŒãããŠããªãå Žåãã¹ãªãŒãã¢ãŒãã«ãªããŸãã #define SLEEP_TIME 60000 //ãã¿ã³ã2ç§éæŒãç¶ãããšãã¹ãªãŒãã¢ãŒããçµäºã§ããŸãã #define WAKEUP_TIME 2000 //åäœã¢ãŒã#define TYPING_MODE 0 #define SLEEP_MODE 1 intã¢ãŒãã //ãã¿ã³ã®çŸåšããã³ä»¥åã®ç¶æ ã int btnState; int btnPrevState; //ãã¿ã³ãæŒãããŠé¢ãããæéã unsigned long int timePress; 笊å·ãªãlong int timeRelease; //ãããã®ã·ã³ãã«ã䜿çšããŠããã€ã³ããšããã·ã¥ãæå®ããŸãã #define MORSE_DOT '*' #define MORSE_TIRE '-' //ã¢ãŒã«ã¹ç¬Šå·æåã®æ倧é·ïŒããããšããã·ã¥ïŒ#define MAX_MORSE_SYMBOL_LENGTH 8 //ã¢ãŒã«ã¹æåãæžã蟌ãããã®ãããã¡ã ãã€ãmorseSymbol [MAX_MORSE_SYMBOL_LENGTH]; unsigned int morseSymbolLen; //ã¢ãŒã«ã¹ç¬Šå·è¡šã nçªç®ã®ã³ãŒãèŠçŽ ã¯ãã¬ã€ã¢ãŠãã®nçªç®ã®æåã«å¯Ÿå¿ããŸãã char * code [] = {"*-"ã "-***"ã "*-"ã "-*"ã "-**"ã "*"ã "***-"ã "- -** "ã" ** "ã" * --- "ã"-*-"ã" *-** "ã"-"ã"-* "ã" --- "ã" *- * "ã" *-* "ã" *** "ã"-"ã" **-"ã" **-* "ã" **** "ã"-*-* "ã" --- * "ã" ---- "ã"-*-"ã"-*-"ã"-**-"ã" **-** "ã" **-"ã" *-* -"ã" * ---- "ã" ** --- "ã" ***-"ã" ****-"ã" ***** "ã"-**** " ãã-***ããã--- **ããã---- *ããã-----ããã......ããã*-*-*-ã ãã--- ***ããã-*-*-ããã-*-*-ããã* ---- *ããã*-**-*ããã-*** *-"ã"-**-* "ã" **-** "ã"-**-"ã"-***-"ã" ******** "ã" *-*-* "ã" **-*-"ã" "}; //ããªã«æåã¬ã€ã¢ãŠãã char * layoutCyrillic [] = {"a"ã "b"ã "c"ã "d"ã "d"ã "e"ã "f"ã "h"ã "and"ã "y"ã "k" ããlãããmãããnãããoãããpãããrãããsãããtãããyãããfãããxãããcããã h "ã" w "ã" u "ã" s "ã" b "ã" e "ã" u "ã" i "ã" 1 "ã" 2 "ã" 3 "ã" 4 "ã" 5 " ãã6ããã7ããã8ããã9ããã0ãããããããããããïŒããã;ãããïŒããã\ 'ããã\ãã ãã-ããã/ãããïŒãããïŒããã* DELIMITER *ããã* ERR *ããã@ããã* END *ãããã}; //ã©ãã³èªã®ã¬ã€ã¢ãŠãã layoutLatin [] = {"a"ã "b"ã "w"ã "g"ã "d"ã "e"ã "v"ã "z"ã "i"ã "j"ã "k"ã " l "ã" m "ã" n "ã" o "ã" p "ã" r "ã" s "ã" t "ã" u "ã" f "ã" h "ã" c "ã"ö " ããchãããqãããyãããxãããéãããÃŒãããÀããã1ããã2ããã3ããã4ããã5ããã 6 "ã" 7 "ã" 8 "ã" 9 "ã" 0 "ã"ã "ã"ã "ã"ïŒ "ã"; "ã"ïŒ "ã" \ '"ã" \ ""ã " -"ã" / "ã"ïŒ "ã"ïŒ "ã" * DELIMITER * "ã" * ERR * "ã" @ "ã" * END * "ã" "}; char ** currentLayout; char ** newLayout ; //ã¹ãªãŒãã¢ãŒãã§ã®ç¹æ» ã®æãã#Define MAX_SLEEP_BRIGHTNESS 16 int sleepBrightness; //ã¹ãªãŒãã¢ãŒããçµäºãããšãã®æãã#Define WAKEUP_BRIGHTNESS 255 void setupïŒïŒ{Serial.beginïŒ9600ïŒ; pinModeïŒLEDãOUTPUTïŒ; pinModeïŒãã¿ã³ãå ¥åïŒ;ã¢ãŒã = TYPING_MODE; morseSymbolLen = 0; btnPrevState = LOW; timePress = millisïŒïŒ; timeRelease = millisïŒïŒ; currentLayout = layoutLatin; newLayout = 0; } //å ¥åããæåãã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ããŸãã void sendMorseSymbolïŒïŒ{int iãj; ifïŒmorseSymbolLen <1ïŒ{return; }ïŒi = 0; code [i] [0]ïŒ= '\ 0'; i ++ïŒ{//å ¥åãããæåãã¢ãŒã«ã¹ç¬Šå·ããŒãã«ã®æåãšæ¯èŒããŸãã forïŒj = 0;ïŒj <morseSymbolLenïŒ&&ïŒcode [i] [j]ïŒ= '\ 0'ïŒ; j ++ïŒ{ifïŒcode [i] [j]ïŒ= morseSymbol [j]ïŒ{j = -1; äŒæ©; }} ifïŒïŒjïŒ= -1ïŒ&&ïŒj == morseSymbolLenïŒ&&ïŒcode [i] [j] == '\ 0'ïŒïŒ{//ã¢ãŒã«ã¹ç¬Šå·ããŒãã«ã®æåã¯å ¥åãããæåã«å¯Ÿå¿ããŸãã //ãã£ã©ã¯ã¿ãŒãã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ããŸãã Serial.printïŒcurrentLayout [i]ïŒ; morseSymbolLen = 0; åž°ã }} //ããŒãã«ã«æåãèŠã€ãããŸããã§ããã èªèãããªãæåãå°å·ããŸãã Serial.printïŒ "["ïŒ; forïŒi = 0; i <morseSymbolLen; i ++ïŒ{Serial.printïŒmorseSymbol [i]ïŒ; } Serial.printïŒ "]"ïŒ; morseSymbolLen = 0; } void loopïŒïŒ{switchïŒmodeïŒ{case TYPING_MODEïŒtypingLoopïŒïŒ; äŒæ©; case SLEEP_MODEïŒsleepLoââopïŒïŒ; äŒæ©; }} voidtypingLoopïŒïŒ{int ledLevel; //ããªã«æåã¬ã€ã¢ãŠãããªã³ã®å ŽåãæŒããšãã€ãªãŒããç¹ç¯ããŸãã //ã©ãã³ã¬ã€ã¢ãŠãããªã³ã®å ŽåãæŒããšãã€ãªãŒããæ¶ããŸãã ifïŒnewLayout == 0ïŒ{ledLevel =ïŒcurrentLayout == layoutCyrillicïŒïŒ 255ïŒ0; } else {ledLevel =ïŒnewLayout == layoutCyrillicïŒïŒ 255ïŒ0; } btnState = digitalReadïŒBUTTONïŒ; ifïŒbtnState == HIGHïŒ{analogWriteïŒLEDãledLevelïŒ; ifïŒbtnPrevState == LOWïŒ{//ãŠãŒã¶ãŒããã¿ã³ãã¯ãªãã¯ããã timePress = millisïŒïŒ; } else {ifïŒïŒnewLayout == 0ïŒ&&ïŒïŒmillisïŒïŒ-timePressïŒ> SWITCH_LAYOUT_TIMEïŒïŒ{//ãã¿ã³ãé·æŒããããŠããå Žåã¯ãã¬ã€ã¢ãŠããå€æŽããŸãã ifïŒcurrentLayout == layoutLatinïŒ{newLayout = layoutCyrillic; Serial.printlnïŒ "\ nLayoutïŒããªã«æå\ n"ïŒ; } else {newLayout = layoutLatin; Serial.printlnïŒ "\ nLayoutïŒlatin \ n"ïŒ; }}}} else {analogWriteïŒLEDã255-ledLevelïŒ; ifïŒbtnPrevState == HIGHïŒ{//ãŠãŒã¶ãŒããã¿ã³ãé¢ããã timeRelease = millisïŒïŒ; //ã¬ã€ã¢ãŠããå€æŽããã°ããã®å Žåã¯ãå€æŽããŸãã ifïŒnewLayoutïŒ= 0ïŒ{sendMorseSymbolïŒïŒ; currentLayout = newLayout; newLayout = 0; } else {ifïŒïŒtimeRelease-timePressïŒ> MAX_DOT_PRESS_TIMEïŒ{morseSymbol [morseSymbolLen ++] = MORSE_TIRE; } else {morseSymbol [morseSymbolLen ++] = MORSE_DOT; } ifïŒmorseSymbolLen> MAX_MORSE_SYMBOL_LENGTHïŒ{//ã¢ãŒã«ã¹èšå·ã§//ã§ããã¢ãŒã«ã¹ä¿¡å·ã®æ倧æ°ãå ¥åããŸããã ã·ã³ãã«ãåæããã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ããŸãã sendMorseSymbolïŒïŒ; }}} else {unsigned long int timePause = millisïŒïŒ-timeRelease; ifïŒtimePause> SLEEP_TIMEïŒ{sleepBrightness = MAX_SLEEP_BRIGHTNESS; ã¢ãŒã= SLEEP_MODE; Serial.printlnïŒ "\ nSLEEP_MODE \ n"ïŒ; } else ifïŒïŒtimePause> DELIMITER_TIMEïŒ&&ïŒmorseSymbolLen> 0ïŒïŒ{//äžæåæ¢ãé·ãããå Žåã¯ãæåã®å ¥åãçµäºããŸãã sendMorseSymbolïŒïŒ; }}} btnPrevState = btnState; é 延ïŒ10ïŒ; } void sleepLoââopïŒïŒ{//ã¹ãªãŒãç¶æ ã§ã-ãããã£ãŠããã¿ã³ã®ã¹ããŒã¿ã¹ã確èªããããšã¯ã»ãšãã©ãããŸãã-0.3ç§ããšã«1åã§ãã é 延ïŒ300ïŒ; //äŒæ¢ç¶æ ãçµäºããã®ã«ååãªé·ãã®ãã¿ã³ãæŒããããã©ãããå€æããŸãã boolean flagWakeUp =ïŒïŒmillisïŒïŒ-timePressïŒ> = WAKEUP_TIMEïŒ; // LEDãç¹æ» ãããŸãã analogWriteïŒLEDãsleepBrightnessïŒ; sleepBrightness = MAX_SLEEP_BRIGHTNESS-sleepBrightness; btnState = digitalReadïŒBUTTONïŒ; ifïŒbtnState == LOWïŒ{ifïŒbtnPrevState == HIGHïŒ{timeRelease = millisïŒïŒ; ifïŒflagWakeUpïŒ{//èµ·ããŸãã ã¢ãŒã= TYPING_MODE; Serial.printlnïŒ "\ nTYPING_MODE \ n"ïŒ; }}} else {ifïŒbtnPrevState == LOWïŒ{timePress = millisïŒïŒ; } else {ifïŒflagWakeUpïŒ{//ããã€ã¹ãèµ·åããã®ã«ååãªé·ãã®ãã¿ã³ãæŒããã//ããšããŠãŒã¶ãŒã«éç¥ããŸãã analogWriteïŒLEDãWAKEUP_BRIGHTNESSïŒ; }}} btnPrevState = btnState; }
ã¹ã±ããããã¹ããArduino IDEã«ã³ããŒããŸãã 確èªãã¿ã³ ã¹ã±ãããã³ã³ãã€ã«ããŸãã
ã³ã³ãã€ã«ãé 調ã«é²ãã å Žåã¯ãã³ãŒãããã€ã¯ãã³ã³ãããŒã©ãŒã«ã¢ããããŒãããŸããçµã¿ç«ãŠãããã€ã¹ã¬ã€ã¢ãŠããminiUSBã±ãŒãã«ã§ã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ãã[ã¢ããããŒã]ãã¿ã³ãæŒããŸãã ã IDEãããã€ã¹ã«æ¥ç¶ã§ããªããšèšã£ãå Žåã[ããŒã«]-> [ã·ãªã¢ã«ããŒã]ã¡ãã¥ãŒã«ç§»åãããªã¹ãããããã€ã¹ãéžæããŠãArduinoããªã³ã«ãªã£ãŠããUSBããŒãã瀺ããŸãã
Arduinoã«ã¹ã±ãããããŠã³ããŒããããšãããã°ã©ã ã¯ããã«åäœãéå§ããŸãã ãã¿ã³ COMããŒãã®ã¢ãã¿ãŒãéå§ããŸãã ãããã«ã¡ã¯ããšããèšèãå°å·ããŠã¿ãŸãããã ã¢ãŒã«ã¹ä¿¡å·ã§ã¯ã次ã®ããã«ãªããŸãã
*-* *-* ** *-*-
åæã«ããã¿ã³ãæŒãããŠããéãé£ç¶ããŠçããã©ã€ãïŒã©ãã³èªã®ã¬ã€ã¢ãŠãã«ãªã£ãŠããããšã瀺ãïŒãæ¶ããŸãã ããã°ã©ã ã®ãªãºã ã«åãããŠããã¹ãŠã®ããããšããã·ã¥ãæ£ãããã¿ãããããå ŽåïŒæåéã®ããŒãºãå¿ããªãã§ãã ããïŒãCOMããŒãã®ã¢ãã¿ãŒç»é¢ã«ã©ãã³èªã®ãpriwetãã衚瀺ãããŸãã
ãã¿ã³ãæŒãããŸãŸã«ããŠãããªã«æåã«åãæ¿ããŸãã æŒãä»ãã远跡ããé»çãæ¶ããŸãã å°å·æ©ãååã«é·ããªããã¬ã€ã¢ãŠããåãæ¿ãããšããã«ãLEDã©ã³ããç¹ç¯ããŸãã ããªã«æåããã©ãã³æåã«åãæ¿ãããšãã©ã³ãã¯ãŸã£ããéã®åäœãããŸããç¹ç¯ããã¬ã€ã¢ãŠããåãæ¿ãããšæ¶ç¯ããŸãã
ããäžåºŠæšæ¶ããŸãããã COMã¢ãã¿ãŒã®ãŠã£ã³ããŠã§ãäºæ³ããããã·ã¢æåã®ä»£ããã«ãkrakozyabryã衚瀺ãããŸãã åœç¶-ã¹ã±ããã¯ããªã«æåãUnicodeã«éä¿¡ããŸãã
ããã€ã¹ã1åéãã®ãŸãŸã«ããŠããããã¿ã³ãæŒããªãããã«ããŸãã 1ååŸãLEDãä¿¡å·ãçºããèæãããç¹æ» ãããŠãã¹ãªãŒãã¢ãŒãããªã³ã«ãªããŸãã
ã¢ã«ãã¡çã¯æºåãã§ããŠããŸãã 圌女ã¯ç§ãã¡ãèšç»ãããšããã«ããŠããŸãã ããããããã€ã¹ã¯ãŸã ãªãªãŒã¹ããŒãžã§ã³ããã¯ã»ã©é ãã§ãã 次ã®ç¹ãæ€èšãã䟡å€ããããŸãã
-1ã€ã®åè²LEDã«ãã衚瀺ã¯äžæçã§ãã ããã¯ãããã€ã¹ã®äœæè ã ããå®å šã«çŽæçã§ç解ã§ããã€ã³ã¿ãŒãã§ã€ã¹ã®ããŒãžã§ã³ã§ãã ãããã1ã€ã®åè²ãã€ãªãŒãã®å©ããããã°ãæ ¹æ¬çã«ãã£ãšè¯ãããšãããããšã¯ã»ãšãã©äžå¯èœã§ããã
-ãã€ã³ãã®ç¶ç¶æéãšããã·ã¥ã®ç¶ç¶æéã®éã®åºå®å¢çç·ã¯äžäŸ¿ã§ãã ãã®ã¢ãããŒãã«ããããŠãŒã¶ãŒã¯ãã¢ãŒã«ã¹ããŒããŒãã調æŽãããŠãããªãºã ã«ãã€ã³ããããŸãã ãã¡ãããããžãã¯ãæäœããŠãããã°ã©ã ããŠãŒã¶ãŒã®é床ã«é©å¿ãããããšãã§ããŸãã ããã¯ãåå¿è ã®ããã°ã©ããŒã«ãšã£ãŠè¯ãç·Žç¿ã«ãªãã§ãããã ããããåæ¥ãããžã§ã¯ãã®èŠ³ç¹ãã-æéã®ç¡é§ã å ¥åã1ã€ã®ãã¿ã³ã«çœ®ââãæãããšãããšãã°2ã€ã®ãã¿ã³ãæã€å ¥åã«çœ®ãæããæ¹ãã¯ããã«ç°¡åã§äŸ¿å©ã§ãã1ã€ã¯ãã€ã³ãçšããã1ã€ã¯ããã·ã¥çšã§ãã
-ã³ãŒãããŒããŒãã䜿çšããã¢ãŒãã®1ã€ã¯ãã¿ããã¿ã€ãã³ã°ã§ãã ãããã£ãŠãLED衚瀺ãæ¯åã§è£ã䟡å€ããããŸãããã®ããããŠãŒã¶ãŒã¯ããŒããŒããèŠãã«ããŒããŒãã®ç¶æ ãæããããšãã§ããŸãã
次ã®èšäºã§äžèšã«åãçµã¿ãŸãã
åã®èšäºïŒ
ArduinoïŒæåã®ç¥ãåã