Library for the PsiSwarm Robot - Version 0.7
Fork of PsiSwarmLibrary by
colour.h@0:d6269d17c8cf, 2016-02-04 (annotated)
- Committer:
- jah128
- Date:
- Thu Feb 04 21:48:54 2016 +0000
- Revision:
- 0:d6269d17c8cf
- Child:
- 2:c6986ee3c7c5
PsiSwarm Library Version 0.4 - Initial Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:d6269d17c8cf | 1 | /* University of York Robotics Laboratory PsiSwarm Library: Colour Sensors Header File |
jah128 | 0:d6269d17c8cf | 2 | * |
jah128 | 0:d6269d17c8cf | 3 | * File: colour.h |
jah128 | 0:d6269d17c8cf | 4 | * |
jah128 | 0:d6269d17c8cf | 5 | * (C) Dept. Electronics & Computer Science, University of York |
jah128 | 0:d6269d17c8cf | 6 | * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis |
jah128 | 0:d6269d17c8cf | 7 | * |
jah128 | 0:d6269d17c8cf | 8 | * PsiSwarm Library Version: 0.4 |
jah128 | 0:d6269d17c8cf | 9 | * |
jah128 | 0:d6269d17c8cf | 10 | * February 2016 |
jah128 | 0:d6269d17c8cf | 11 | * |
jah128 | 0:d6269d17c8cf | 12 | * |
jah128 | 0:d6269d17c8cf | 13 | */ |
jah128 | 0:d6269d17c8cf | 14 | |
jah128 | 0:d6269d17c8cf | 15 | |
jah128 | 0:d6269d17c8cf | 16 | #ifndef COLOUR_H |
jah128 | 0:d6269d17c8cf | 17 | #define COLOUR_H |
jah128 | 0:d6269d17c8cf | 18 | |
jah128 | 0:d6269d17c8cf | 19 | void set_base_colour_sensor_gain(char gain); |
jah128 | 0:d6269d17c8cf | 20 | void set_base_colour_sensor_integration_time(char int_time); |
jah128 | 0:d6269d17c8cf | 21 | void enable_base_colour_sensor(void); |
jah128 | 0:d6269d17c8cf | 22 | void read_base_colour_sensor_values(int * store_array); |
jah128 | 0:d6269d17c8cf | 23 | char IF_check_base_colour_sensor(void); |
jah128 | 0:d6269d17c8cf | 24 | |
jah128 | 0:d6269d17c8cf | 25 | |
jah128 | 0:d6269d17c8cf | 26 | #endif |