Allbot servo.read function

Hi.

Trying to get the servo.read function to work on the Allbot.

Anyone know if this is possible, would be easyer to make mooves with that function.

tried this prog.

#include <Servo.h>

Servo myservo; // create servo object to control a servo
int val;

void setup()
{

Serial.begin(9600);
// KNE 2 3 9 10 11 2 = 12
// HIP 4 9 A0 A1

myservo.attach(2);

}

void loop()
{
val = myservo.read();
Serial.print("SERVO POS VALUE = ");
Serial.println(val);
delay(500);

}

i think the library doesn’t allow at the moment.

But it seems like a good idea to implement that.
We’ll add it to the new version of the library.

You can edit the library to expose that function.

Best Regards,
VEL337