Modified version of the UKESF lab source which can be carried out with no knowledge of C
Fork of PsiSwarm-Headstart by
colour.h@5:f6be169e465b, 2018-09-14 (annotated)
- Committer:
- YRL50
- Date:
- Fri Sep 14 16:00:48 2018 +0000
- Revision:
- 5:f6be169e465b
- Parent:
- 2:c6986ee3c7c5
Fixing compile warnings
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 | 2:c6986ee3c7c5 | 8 | * PsiSwarm Library Version: 0.41 |
jah128 | 0:d6269d17c8cf | 9 | * |
jah128 | 2:c6986ee3c7c5 | 10 | * March 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 |