[[2016a/Member]] *Ìܼ¡ [#hf5c1d7d] #contents *º£²ó¤Î²ÝÂê [#j34a4692] º£²ó¤Ï¸÷¥»¥ó¥µ¡¼¤ò»È¤Ã¤Æ¥é¥¤¥ó¥È¥ì¡¼¥¹¤ò¹Ô¤¦²ÝÂê¤Ç¤¹¡£ º£²ó¤Î¥³¡¼¥¹¤Ï²¼¤Î¿Þ¤Ç¤¢¤ë¡£ ¥³¡¼¥¹¤Î¿Þ #ref(2016a-mission2.png) »ä¤Ï AÃÏÅÀ¤«¤éBÃÏÅÀ¤Þ¤Ç¤ò AÃÏÅÀ ¢ª Pľ¿Ê ¢ª Qľ¿Ê ¢ª Qľ¿Ê ¢ª Rº¸ÀÞ ¢ª BÃÏÅÀ ¤Î½ç¤Ç¿Ê¤ß¤Þ¤¹¡£ £±¤ÄÌܤθòº¹ÅÀ¡§Ä¾¿Ê £²¤ÄÌܤθòº¹ÅÀ¡§Ä¾¿Ê £³¤ÄÌܤθòº¹ÅÀ¡§Ä¾¿Ê £´¤ÄÌܤθòº¹ÅÀ¡§º¸ÀÞ ¤È¤¤¤¦¤è¤¦¤Ëľ¿Ê¤¬¤Û¤È¤ó¤É¤Ç¤¢¤ë¤¬¡¢º¸ÀÞ¤¬°ì²Õ½ê¤¢¤ë¤Î¤Ç¡¢¥×¥í¥°¥é¥à¤ò´Êά²½¤¹¤ë¤¿¤á¡¢º¸Â¦Áö¹Ô¤Ë¤·¤Þ¤·¤¿¡£¤·¤«¤·¡¢¤½¤Î¤»¤¤¤ÇQÃÏÅÀÉÕ¶á¤ÎŤ¯¤ÆµÞ¤Ê¥«¡¼¥Ö¤òÆâ¦Áö¹Ô¤ò¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¯¤Ê¤ê¡¢¶ìÏ«¤·¤Þ¤·¤¿¡£ *»ÈÍѤ·¤¿¥í¥Ü¥Ã¥È [#x04d3d0d] ¼Ì¿¿£²Ëç #ref(IMG_0747.JPG) #ref(IMG_0748.JPG) ¥«¡¼¥Ö¤¬Â¿¤¤¤¿¤á¡¢²£Éý¤¬¶¹¤¤¾®²ó¤ê¤ÎÍø¤¤¤¿¥í¥Ü¥Ã¥È¤òÀ½ºî¤·¤Þ¤·¤¿¡£ ¡ ¸íºîư¤òËɤ°¤¿¤á¡¢¥»¥ó¥µ¡¼¤òÃæ±û¤Ë¶á¤¤Éôʬ¤Ë¼è¤êÉÕ¤±¤Þ¤·¤¿¡£¤³¤ì¤òÊѤ¨¤¿¤³¤È¤Ë¤è¤Ã¤Æ¡¢¥«¡¼¥Ö¤Ç¼ºÇÔ¤·¤Ê¤¤³ÎΨ¤¬ÃÇÁ³¾å¤¬¤ê¤Þ¤·¤¿¡£ ¢ ¾®²ó¤ê¤¬Íø¤¯¤è¤¦¤Ë¤Ê¤ë¤Ë¤Ï¡¢¤Ç¤¤ë¤À¤±¼ÖÂΤò¾®¤µ¤¯¤·¡¢¥¿¥¤¥ä¤Îµ÷Î¥¤ò¶¹¤¯¤¹¤ëɬÍפ¬Í¤ë¤È»×¤Ã¤¿¤Î¤Ç¡¢Æó¤Ä¤Î¥â¡¼¥¿¡¼¤ò¤¯¤Ã¤Ä¤±¡¢ºÇ¾®¸Â¤Î²£Éý¤Ë¤·¤Þ¤·¤¿¡£ £ ¥¿¥¤¥ä¤â¾®¤µ¤¤¥¿¥¤¥ä£²¤Ä¤·¤«»È¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¥Ð¥é¥ó¥¹¤òÊݤĤ¿¤á¡¢¼ÖÂΤÎÁ°Êý¤Ë²óž¤Ç¤¤ë¾®¤µ¤Ê¥×¥ì¡¼¥È¤ò¼è¤êÉÕ¤±¤Þ¤·¤¿¡£ ;ʬ¤Ê¤â¤Î¤ò¼è¤ê½ü¤¤¤¿´Ê°×¤Êºî¤ê¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤¿¤á¡¢¥«¥Ð¥ó¤ËÆþ¤ì¤ë¤¿¤Ó¤Ë²õ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ *¥×¥í¥°¥é¥à [#reaeff61] ¿¤¯¤Î¤ä¤êÊý¤ò»î¤·¤¿¤Î¤Ç¤¹¤¬¡¢¤ä¤Ï¤ê¥µ¥Ö¥ë¡¼¥Á¥ó¤ò¥á¥¤¥ó¤Ë»ÈÍѤ·¤¿¤ä¤êÊý¤¬°ìÈÖ´Êñ¤Ç¡¢¤ï¤«¤ê¤ä¤¹¤«¤Ã¤¿¤Ç¤¹¡£ **Define [#n55d1d08] #define STARTIME 300//¸òº¹ÅÀ¤òȽÃǤ·¤Ê¤¤»þ´Ö #define JUDGETIME 25//¸òº¹ÅÀ¤òȽÃǤ¹¤ë»þ´Ö /*¥È¥ì¡¼¥¹¤Îư¤*/ #define TLL rev(OUT_A);fwd(OUT_C)//º¸Àû²ó #define TL Off(OUT_A);fwd(OUT_C)//º¸ÀÞ #define TRR rev(OUT_C);fwd(OUT_A)//±¦Àû²ó #define TR Off(OUT_C);fwd(OUT_A)//±¦ÀÞ #define ST fwd(OUT_AC)//ľ¿Ê #define CHECKCROSS FastTimer(0) <= JUDGETIME || FastTimer(1) <= STARTIME//¸òº¹ÅÀ¤ÎȽÃÇ ¥È¥ì¡¼¥¹¤ËÀû²ó¤ÈÊÒÊý¤Î¥¿¥¤¥ä¤ò¼´¤Ë¤·¤Æ¶Ê¤¬¤ëư¤¤òξÊý¥×¥í¥°¥é¥à¤ËÆþ¤ì¤Æ¤¤¤ë¤¬¡¢´°àú¤Ë¥«¡¼¥Ö¤¹¤ë¤³¤È¤Ï¤ä¤Ï¤êÆñ¤·¤¤¤Ç¤¹¡£ **¥µ¥Ö¥ë¡¼¥Á¥ó [#i9d7982c] ***¥È¥ì¡¼¥¹¤ò¹Ô¤¦¥µ¥Ö¥ë¡¼¥Á¥ó [#x034d0d3] sub trace() { ClearTimer(0);//¥¿¥¤¥Þ¡¼¤ò¥ê¥»¥Ã¥È while(CHECKCROSS){ if(FastTimer(1) < STARTIME){ ClearTimer(0); } if(54 <= SENSOR_2){ TRR; }else if(51 <= SENSOR_2){ TR; }else if(46 <= SENSOR_2){ ST; }else if(43 <= SENSOR_2){ TL; }else { TLL; } if(44 <= SENSOR_2) ClearTimer(0);//Çò¤òǧ¼±¤·¤¿¾ì¹ç¡¢¸òº¹ÅÀȽÄêÍѤΥ¿¥¤¥Þ¤ò¥ê¥»¥Ã¥È¤¹¤ë } Off(OUT_AC); PlaySound(SOUND_CLICK);//¥Ô¥Ã¤ÈÌĤë Wait(100);//°ìÉôÖÄä»ß¤¹¤ë ClearTimer(0); } ¥¹¥¿¡¼¥È»þ¤Î¸òº¹ÅÀ¤ä¸íºîư¤òËɤ°¤¿¤á¡¢½é¤á¤ÎSTARTIME¤Î´Ö¤ÏȽÄêÍѤΥ¿¥¤¥Þ¤ò¥ê¥»¥Ã¥È¤·Â³¤±¤Þ¤¹¡£ ¥È¥ì¡¼¥¹Ãæ¤ËÇò¤òǧ¼±¤Ç¤¤ì¤Ð¥¿¥¤¥Þ¤ò¥ê¥»¥Ã¥È¤·¡¢Çò¤òǧ¼±¤Ç¤¤Ê¤ì¤±¤Ð¡Êº¸±¦¹õ¤·¤«¤Ê¤¤¡Ë¥¿¥¤¥Þ¤¬+1¤È¤Ê¤ê¡¢¸òº¹ÅÀ¤Èǧ¼±¤·¡¢¥Ô¥Ã¤È²»¤òÌĤ餷¤Þ¤¹¡£ ***¸òº¹ÅÀ¤Çľ¿Ê¤¹¤ë¥µ¥Ö¥ë¡¼¥Á¥ó [#f70277a4] sub PQ_ST() { ST; Wait(30); } ***¸òº¹ÅÀ¤Çº¸ÀÞ¤¹¤ë¥µ¥Ö¥ë¡¼¥Á¥ó [#s8da206d] sub PQ_TL() { ClearTimer(1); } º¸Â¦Áö¹Ô¤Ê¤Î¤Ç¥¯¥ê¥¢¥¿¥¤¥Þ£±¤Çº¸ÀÞ¤·¤Þ¤¹¡£ **¥¿¥¹¥¯¥á¥¤¥ó [#o6e38b66] task main(){ SetSensor(SENSOR_2,SENSOR_LIGHT); ClearTimer(1); trace(); PQ_ST();//ÅÀP¤Çľ¿Ê trace(); PQ_ST();//ÅÀQ¤Çľ¿Ê trace(); PQ_ST();//ÅÀQ¤Çľ¿Ê trace(); PQ_TL();//ÅÀR¤Çº¸ÀÞ trace(); PlaySound(SOUND_UP); //¥´¡¼¥ë»þ¤Î²» } ¥µ¥Ö¥ë¡¼¥Á¥ó¤ò¿¤¯»ÈÍѤ·¤Æ¤¤¤ë¤¿¤á¡¢´Êñ¤Ç¤ï¤«¤ê¤ä¤¹¤¤¥¿¥¹¥¯¥á¥¤¥ó¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ *¤Þ¤È¤á [#z59ce1da] **·ëÏÀ [#x4fc387a] Á°²ó¤Î²ÝÂê¤è¤êÆñ°×Å٤Ϲ⤯¤Ê¤Ã¤¿¤¬¡¢Ëþ¤ΤǤ¤ë·ë²Ì¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¸÷¥»¥ó¥µ¡¼¤ò»È¤Ã¤¿½é¤á¤Æ¤Î¼ø¶È¤Î»þ¤Ï¡¢¥¸¥°¥¶¥°¤Ë¤·¤«¿Ê¤à¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢º£¤ÏľÀþ¾å¤Ç¤Ï¤Û¤Ü¤Þ¤Ã¤¹¤°¤Ë¿Ê¤à¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤·¡¢¥«¡¼¥Ö¤Ç¤â̵Â̤ξ¯¤Ê¤¤Æ°¤¤Ë¤Ê¤Ã¤Æ¤¤¿¤È»×¤¤¤Þ¤¹¡£ **¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ [#t6776234] ºÇ½é¤ÏÀèÀ¸¤¬¸À¤Ã¤Æ¤¤¤¿¥µ¥Ö¥ë¡¼¥Á¥ó¤¬¤¢¤Þ¤êÍý²ò¤Ç¤¤Ê¤¯¤Æ¡¢¼«Ê¬¤Ê¤ê¤Î¤ä¤êÊý¤ò»î¹Ôºø¸í¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¤É¤ì¤â¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£¤½¤Î¸å¡¢Í§Ã£¤Î¥µ¥Ö¥ë¡¼¥Á¥ó¤ò»È¤Ã¤¿¥×¥í¥°¥é¥à¤ò»²¹Í¤·¡¢¼«Ê¬¤Î¤ä¤êÊý¤òÊѹ¹¤·¤Æ¡¢¤Ê¤ó¤È¤«º£¤Î¥×¥í¥°¥é¥à¤Ë»ê¤ë¤³¤È¤¬¤Ç¤¤Þ¤·¤¿¡£ ¥×¥í¥°¥é¥à¤ËÂФ¹¤ëÍý²ò¤¬°ìÁØ¿¼¤Þ¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£ **¥í¥Ü¥Ã¥È¤Ë¤Ä¤¤¤Æ [#jb15679e] º£²óÀ®¸ùΨ¤¬¾å¤¬¤Ã¤¿°ìÈÖ¤ÎÍýͳ¤Ï¥í¥Ü¥Ã¥È¤À¤È»×¤¤¤Þ¤¹¡£ ¥ì¥Ý¡¼¥ÈÄùÀڤΰ콵´ÖÁ°¤Þ¤ÇÀâÌÀ½ñÄ̤ê¤Î¥í¥Ü¥Ã¥È¤ò»ÈÍѤ·¤Æ¤¤¤Æ¡¢Ëè²óQÃÏÅÀÉÕ¶á¤Î¥«¡¼¥Ö¤Ç²ó¤ê¤¤ì¤º¡¢¥«¡¼¥Ö¤ò¸òº¹ÅÀ¤Èǧ¼±¤·¤Æ¤¤¤Þ¤·¤¿¡£ ¤É¤¦¤·¤Æ¤¤¤¤¤«¤ï¤«¤é¤º¡¢¥×¥í¥°¥é¥à¤ò²þÎɤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤È»×¤Ã¤Æ¤¤¤Þ¤·¤¿¡£STARTIME¤òŤ¯¤¹¤ë¤³¤È¤â¹Í¤¨¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¤½¤ì¤Ç¤Ï¼«Á³¤Ê¥é¥¤¥ó¥È¥ì¡¼¥¹¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£¤½¤³¤Ç¥í¥Ü¥Ã¥È¤ò¾¯¤·²þÎɤ·¤Þ¤·¤¿¡£³ê¤é¤«¤Êư¤¤¬¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¡¢°ì²ó¤âÀ®¸ù¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¥×¥í¥°¥é¥à¤¬À®¸ù¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£