Psi Swarm robot library version 0.9
Fork of PsiSwarmV9 by
Diff: colour.cpp
- Revision:
- 18:9204f74069b4
- Parent:
- 17:bf614e28668f
--- a/colour.cpp Sun Jun 04 13:11:09 2017 +0000 +++ b/colour.cpp Sun Jun 04 20:22:41 2017 +0000 @@ -289,3 +289,10 @@ int ack = primary_i2c.read( BASE_COLOUR_ADDRESS, output, quantity ); return ack; } + +char cl_description[90]; +const char * Colour::IF_get_calibration_values_string() +{ + sprintf(cl_description,"[BLACK C:%4d R:%4d G:%4d B:%4d WHITE C:%4d R:%4d G%4d B:%4d]",cs_c_black,cs_r_black,cs_g_black,cs_b_black,cs_c_white,cs_r_white,cs_g_white,cs_b_white); + return cl_description; +} \ No newline at end of file