![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Bluetooth communication for flocking.
Fork of BeautifulMemeProject by
beacon.h
- Committer:
- jah128
- Date:
- 2015-10-26
- Revision:
- 9:085e090e1ec1
- Parent:
- 6:ff3c66f7372b
- Child:
- 11:7b3ee540ba56
File content as of revision 9:085e090e1ec1:
/// PsiSwarm Beautiful Meme Project Source Code /// Version 0.1 /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis /// University of York #ifndef BEACON_H #define BEACON_H void emitter_ticker_block(void); void sample_ticker_block(void); void emitter_timeout_block(void); void locate_beacon(void); void start_infrared_timers(void); unsigned short get_highest_sample(unsigned short * ir_array); unsigned short get_sum_sample(unsigned short * ir_array); char turn_to_bearing(int bearing); #endif