I am new to Arduino, I programmes some C# and VBA before but never in connection with hardware.
I am so far to let LEDs blinks, move a servo and show some stuff on a display
how can I connect a RC-receiver to the Arduino Uno and read the servosignal to send it to a servo ?
the servo gets the angle it should move
to controll the servo I use following code:
// by BARRAGAN <http://barraganstudio.com>
// This example code is in the public domain.
Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
int pos = 0; // variable to store the servo position
myservo.attach(9); // attaches the servo on pin 9 to the servo object
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
"pos" is the angle of the servo in degrees