ft. button press reset
Dependencies: mbed
Fork of BeaconDemo_RobotCodeNew by
beacon.h@9:085e090e1ec1, 2015-10-26 (annotated)
- Committer:
- jah128
- Date:
- Mon Oct 26 11:16:05 2015 +0000
- Revision:
- 9:085e090e1ec1
- Parent:
- 6:ff3c66f7372b
- Child:
- 11:7b3ee540ba56
Fork for variable frequency beacon
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 | 9:085e090e1ec1 | 16 | char turn_to_bearing(int bearing); |
jah128 | 6:ff3c66f7372b | 17 | |
jah128 | 6:ff3c66f7372b | 18 | #endif |