Commit 75a835e4 authored by springob's avatar springob

* BOB3: added bob3.getIRLight() method

git-svn-id: svn:// 2d339c8f-7935-0410-b692-f2b57624aac1
parent af87069a
......@@ -71,6 +71,11 @@ uint16_t Bob3::getIRSensor() {
uint16_t Bob3::getIRLight() {
return analog_getValueExt(ANALOG_IR, 0);
void Bob3::enableIRSensor(bool enable) {
......@@ -65,6 +65,7 @@ class Bob3 {
void setEyes(uint16_t eye1, uint16_t eye2) {setLed(1, eye1); setLed(2, eye2);};
void setWhiteLeds(uint16_t wled1, uint16_t wled2) {setLed(3, wled1); setLed(4, wled2);};
uint16_t getIRSensor();
uint16_t getIRLight();
void enableIRSensor(bool enable);
uint8_t getArm(uint8_t id);
void enableArms(bool enable);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment