Psi Swarm robot library version 0.9
Fork of PsiSwarmV9 by
Diff: colour.cpp
- Revision:
- 13:adbd827234a4
- Parent:
- 12:878c6e9d9e60
- Child:
- 14:2f1ad77d281e
diff -r 878c6e9d9e60 -r adbd827234a4 colour.cpp --- a/colour.cpp Mon Oct 17 13:09:10 2016 +0000 +++ b/colour.cpp Mon Oct 17 13:19:20 2016 +0000 @@ -25,23 +25,23 @@ #include "psiswarm.h" -void read_base_colour_sensor_values(int * store_array){ +void Colour::read_base_colour_sensor_values(int * store_array){ } -void set_base_colour_sensor_gain(char gain){ +void Colour::set_base_colour_sensor_gain(char gain){ } -void set_base_colour_sensor_integration_time(char int_time){ +void Colour::set_base_colour_sensor_integration_time(char int_time){ } -void enable_base_colour_sensor(void){ +void Colour::enable_base_colour_sensor(void){ } -char IF_check_base_colour_sensor(void){ +char Colour::IF_check_base_colour_sensor(void){ //Reads the device ID flag of the colour sensor [0xB2] //This should equal 0x44 for both TCS34721 (top) and TCS34725 (base) sensors //Return a 1 if successful or a 0 otherwise