The Idea:
The Challenges
Other Solutions
Components
The Breakthrough
Explanation
Components
Virtual Wire
ServoTimer2
NOTE: You may get a compile error that has the text:
error: conflicting declaration 'typedef uint8_t boolean'
This is easy to resolve
typedef uint8_t boolean;
typedef uint8_t byte;
Change these lines to:
// typedef uint8_t boolean;
// typedef uint8_t byte;
This seems to be due to ServoTimer2 being written a while ago before those types were defined.
I wasn't expecting it to be so hard to get these components to work together.
I learnt a bit about timers & libraries along the way which was interesting.
The full rotation servo that I have stutters along because it is attached & detached. I don't have any other type of servo so I'd be interested in how different types of servo respond using the same setup.