Psi Swarm Code V0.41 [With Beautiful Meme program]
Dependencies: PsiSwarmLibrary mbed
Fork of BeautifulMemeProjectBT by
Diff: beacon.h
- Revision:
- 30:513457c1ad12
- Parent:
- 29:9756004e8499
diff -r 9756004e8499 -r 513457c1ad12 beacon.h --- a/beacon.h Thu Mar 03 23:22:01 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -/// PsiSwarm Beautiful Meme Project Source Code -/// Version 0.4 -/// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis -/// University of York - -// beacon.h - Functions for detecting the beacon and taking IR readings of the robots - -#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 \ No newline at end of file