Psi Swarm Code V0.41 [With Beautiful Meme program]

Dependencies:   PsiSwarmLibrary mbed

Fork of BeautifulMemeProjectBT by Alan Millard

Committer:
jah128
Date:
Tue Mar 15 00:58:43 2016 +0000
Revision:
30:513457c1ad12
Added serial handling for Psi Console

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jah128 30:513457c1ad12 1 /// PsiSwarm Beautiful Meme Project Source Code
jah128 30:513457c1ad12 2 /// Version 0.41
jah128 30:513457c1ad12 3 /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis
jah128 30:513457c1ad12 4 /// University of York
jah128 30:513457c1ad12 5
jah128 30:513457c1ad12 6 // beacon.h - Functions for detecting the beacon and taking IR readings of the robots
jah128 30:513457c1ad12 7
jah128 30:513457c1ad12 8 #ifndef BEACON_H
jah128 30:513457c1ad12 9 #define BEACON_H
jah128 30:513457c1ad12 10
jah128 30:513457c1ad12 11 void emitter_ticker_block(void);
jah128 30:513457c1ad12 12 void sample_ticker_block(void);
jah128 30:513457c1ad12 13 void emitter_timeout_block(void);
jah128 30:513457c1ad12 14 void locate_beacon(void);
jah128 30:513457c1ad12 15 void start_infrared_timers(void);
jah128 30:513457c1ad12 16 unsigned short get_highest_sample(unsigned short * ir_array);
jah128 30:513457c1ad12 17 unsigned short get_sum_sample(unsigned short * ir_array);
jah128 30:513457c1ad12 18 char turn_to_bearing(int bearing);
jah128 30:513457c1ad12 19
jah128 30:513457c1ad12 20 #endif