![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork for variable frequency beacon
Fork of BeautifulMeme-ForkOldVersion by
beacon.h@16:976a1d0ea897, 2015-10-30 (annotated)
- Committer:
- jah128
- Date:
- Fri Oct 30 12:15:54 2015 +0000
- Revision:
- 16:976a1d0ea897
- Parent:
- 11:7b3ee540ba56
Added Millards Tag Game.. Yay.
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 | 11:7b3ee540ba56 | 2 | /// Version 0.2 |
jah128 | 6:ff3c66f7372b | 3 | /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis |
jah128 | 6:ff3c66f7372b | 4 | /// University of York |
jah128 | 6:ff3c66f7372b | 5 | |
jah128 | 11:7b3ee540ba56 | 6 | // beacon.h - Functions for detecting the beacon and taking IR readings of the robots |
jah128 | 11:7b3ee540ba56 | 7 | |
jah128 | 6:ff3c66f7372b | 8 | #ifndef BEACON_H |
jah128 | 6:ff3c66f7372b | 9 | #define BEACON_H |
jah128 | 6:ff3c66f7372b | 10 | |
jah128 | 6:ff3c66f7372b | 11 | void emitter_ticker_block(void); |
jah128 | 6:ff3c66f7372b | 12 | void sample_ticker_block(void); |
jah128 | 6:ff3c66f7372b | 13 | void emitter_timeout_block(void); |
jah128 | 6:ff3c66f7372b | 14 | void locate_beacon(void); |
jah128 | 6:ff3c66f7372b | 15 | void start_infrared_timers(void); |
jah128 | 6:ff3c66f7372b | 16 | unsigned short get_highest_sample(unsigned short * ir_array); |
jah128 | 6:ff3c66f7372b | 17 | unsigned short get_sum_sample(unsigned short * ir_array); |
jah128 | 9:085e090e1ec1 | 18 | char turn_to_bearing(int bearing); |
jah128 | 6:ff3c66f7372b | 19 | |
jah128 | 6:ff3c66f7372b | 20 | #endif |