Skip to content

Servo examples are incorrect #462

@paulvha

Description

@paulvha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions