Loading...
Pages: [1]   Go Down
Author Topic: Arduino Mega ADK (ATmega2560): properly disconnect servo?  (Read 427 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I have connected the signal line of a servo to both my Arduino Mega ADK board and my RC model receiver. The aim is to control the servo both by moving the sticks on my radio and through the Arduino Mega ADK board.

Until I call the servo.attach(pin) method, I can control the servo through my radio just fine. Once I call the servo.attach(pin) method the board controls the servo. This works fine and as intended.

However, I did not find a way to give back control of the servo to the radio. I tried to call the servo.detach() method, but this did not help. Only when I reset the board, I can control the servo through the radio again.

Does anyone know how I can properly detach the servo so that I can again control it through my radio, without the need to reset the board?

Many thanks and all the best,
Michael
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone, please? :-/
Logged

Pages: [1]   Go Up
Print
 
Jump to: