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-flockingAddedBluetooth by
Diff: PsiSwarm/colour.h
- Revision:
- 0:8a5497a2e366
- Child:
- 6:ff3c66f7372b
diff -r 000000000000 -r 8a5497a2e366 PsiSwarm/colour.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PsiSwarm/colour.h Sat Oct 03 22:48:50 2015 +0000 @@ -0,0 +1,24 @@ +/* University of York Robotics Laboratory PsiSwarm Library: Colour Sensors Header File + * + * File: colour.h + * + * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York + * + * PsiSwarm Library Version: 0.2 + * + * October 2015 + * + */ + + +#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