
ft. button press reset
Dependencies: mbed
Fork of BeaconDemo_RobotCodeNew by
Diff: beacon.cpp
- Revision:
- 18:3fa5cd53ed45
- Parent:
- 11:7b3ee540ba56
--- a/beacon.cpp Fri Jan 15 18:27:53 2016 +0000 +++ b/beacon.cpp Thu Feb 23 09:51:40 2017 +0000 @@ -19,7 +19,7 @@ char show_ir_debug_info = 0; // Set to 1 to display (via PC) the list of IR readings & visible robots every timestep /// The locate beacon function samples the IR radiation from all 8 side sensors over a period of 1 second in [BEACON_PERIOD / 2.5] (20ms) blocks. -/// The infrared beacon is set to give a 50ms burst of IR every 500ms. We should thus see in the sampled radiation 2 blocks +/// The infrared beacon is set to give a 25ms burst of IR every 250ms. We should thus see in the sampled radiation 2 blocks /// of samples, 2 or 3 samples in duration, when a significant peak occurs; the blocks should be 25 samples apart. void locate_beacon() {