Xbeeを実装、speakをfunctionに、rotate消した、calibrationで回るように、ゴール判定を消した
Dependencies: ATP3012 mbed a HMC US015_2 getGPS
Diff: Function.h
- Revision:
- 33:81cce6df4f14
- Parent:
- 32:38c29f2f405c
--- a/Function.h Sat Dec 18 10:55:47 2021 +0000 +++ b/Function.h Sun Dec 19 09:30:30 2021 +0000 @@ -153,7 +153,7 @@ char mess[100]; float as; if(talk.IsActive(timeout_ms)==true){ - xbee.printf("Active\n\rflag="); + /*xbee.printf("Active\n\rflag="); wait(3); if(xbee.readable()){ xbee.printf("\n\rmessage="); @@ -166,11 +166,11 @@ xbee.printf("advance speed="); xbee.scanf("%f",&as); } - else{ + else{*/ xbee.printf("preset_message speak\r\n"); talk.Synthe("hinannyuudoudesu,,tuitekitekudasai."); as=0.39; - } + //} } else{ xbee.printf("\r\nNot Active\n");