Psi Swarm robot library version 0.9
Fork of PsiSwarmV8_CPP by
Diff: psiswarm.cpp
- Revision:
- 13:adbd827234a4
- Parent:
- 12:878c6e9d9e60
- Child:
- 15:66be5ec52c3b
diff -r 878c6e9d9e60 -r adbd827234a4 psiswarm.cpp --- a/psiswarm.cpp Mon Oct 17 13:09:10 2016 +0000 +++ b/psiswarm.cpp Mon Oct 17 13:19:20 2016 +0000 @@ -34,6 +34,7 @@ Demo demo; Animations animations; Basic basic; +Colour colour; //Setup MBED connections to PsiSwarm Robot Serial pc(USBTX,USBRX); @@ -225,7 +226,7 @@ } if(has_base_colour_sensor) { debug("- Setting up base colour sensor\n"); - IF_check_base_colour_sensor(); + colour.IF_check_base_colour_sensor(); } if(has_ultrasonic_sensor) { debug("- Setting up ultrasonic sensor\n");