Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PsiSwarm-Headstart by
Diff: colour.h
- Revision:
- 0:d6269d17c8cf
- Child:
- 2:c6986ee3c7c5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/colour.h Thu Feb 04 21:48:54 2016 +0000 @@ -0,0 +1,26 @@ +/* University of York Robotics Laboratory PsiSwarm Library: Colour Sensors Header File + * + * File: colour.h + * + * (C) Dept. Electronics & Computer Science, University of York + * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis + * + * PsiSwarm Library Version: 0.4 + * + * February 2016 + * + * + */ + + +#ifndef COLOUR_H +#define COLOUR_H + +void set_base_colour_sensor_gain(char gain); +void set_base_colour_sensor_integration_time(char int_time); +void enable_base_colour_sensor(void); +void read_base_colour_sensor_values(int * store_array); +char IF_check_base_colour_sensor(void); + + +#endif \ No newline at end of file