Bluetooth communication for flocking.

Dependencies:   mbed

Fork of BeautifulMemeProject by James Hilder

Committer:
jah128
Date:
Tue Oct 27 00:13:49 2015 +0000
Revision:
11:7b3ee540ba56
Parent:
9:085e090e1ec1
Cleaned+reordered

Who changed what in which revision?

UserRevisionLine numberNew 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