I’m trying to replicate this set up on a RedBoard Artemis Nano. However, when I make the connections and upload my program (see below), the servo doesn’t move. Possibly I’ve misread the capabilities of the Nano, but should this work?
Hi, I can see that in your diagram, the control pins of the two servo motors are connected to pin 7 and pin 8. But in your code, I can see only one servo. That has its control pin connected to pin 9.
What is the setup with your Artemis actually? Are you connecting the servo’s control pin to pin#9?
The servo steps are generated by one of the timers in the Apollo3 chip, redirected to a GPIO pin. Not all GPIO pins can be connected to a timer output. The table in chapter 13.20 of the Apollo3 datasheet shows which, but to keep it easy the library also mentions that the following pads are valid for output: Valid pads for CTx are: 4-7, 11-13, 18-19, 22-33, 35, 37, 39, 42-49.
Often the PAD is the same as the PIN number printed on the board. However looking at an Artemis Nano :