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);
}