Arduino_Apollo3 icon indicating copy to clipboard operation
Arduino_Apollo3 copied to clipboard

Servo examples are incorrect

Open paulvha opened this issue 2 years ago • 0 comments

Based on a post on the Sparkfun forum, I looked at the Artemis SERVO library. The examples (either 2.x or 1.x) are incorrect on the pad (8) to select.

In the Apollo3 processor, only a number of PADS can be connected for the output of a counter/timer. It is reflected in the Apollo3 datasheet chapter 13.20, but also in the comments at the top CommonAnalog.cpp : Valid pads for CTx are: 4-7, 11-13, 18-19, 22-33, 35, 37, 39, 42-49.

We all know that PAD's are mapped differently to the PINS on the different Artemis boards.

The instruction in the Servo examples should be updated to reflect that. I have created the attached spreadsheet that maps the valid Servo pad to the board pins for the different Artemis processor boards. servo_map.xlsx

regards, Paul

paulvha avatar Apr 25 '22 16:04 paulvha