![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
beacon.h@6:ff3c66f7372b, 2015-10-22 (annotated)
- Committer:
- jah128
- Date:
- Thu Oct 22 00:46:14 2015 +0000
- Revision:
- 6:ff3c66f7372b
- Child:
- 9:085e090e1ec1
Initial version: beacon detection and sync. code, bearing estimation.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 6:ff3c66f7372b | 1 | /// PsiSwarm Beautiful Meme Project Source Code |
jah128 | 6:ff3c66f7372b | 2 | /// Version 0.1 |
jah128 | 6:ff3c66f7372b | 3 | /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis |
jah128 | 6:ff3c66f7372b | 4 | /// University of York |
jah128 | 6:ff3c66f7372b | 5 | |
jah128 | 6:ff3c66f7372b | 6 | #ifndef BEACON_H |
jah128 | 6:ff3c66f7372b | 7 | #define BEACON_H |
jah128 | 6:ff3c66f7372b | 8 | |
jah128 | 6:ff3c66f7372b | 9 | void emitter_ticker_block(void); |
jah128 | 6:ff3c66f7372b | 10 | void sample_ticker_block(void); |
jah128 | 6:ff3c66f7372b | 11 | void emitter_timeout_block(void); |
jah128 | 6:ff3c66f7372b | 12 | void locate_beacon(void); |
jah128 | 6:ff3c66f7372b | 13 | void start_infrared_timers(void); |
jah128 | 6:ff3c66f7372b | 14 | unsigned short get_highest_sample(unsigned short * ir_array); |
jah128 | 6:ff3c66f7372b | 15 | unsigned short get_sum_sample(unsigned short * ir_array); |
jah128 | 6:ff3c66f7372b | 16 | |
jah128 | 6:ff3c66f7372b | 17 | #endif |