Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix README.md: external-interrupts URLs / update table #32

Merged
merged 1 commit into from
Jan 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Servo motors are driven by three pins: signal, power, and ground. To use this li

### Signals and Interrupts

The Servo Input library uses external interrupts to keep track of servo positions without delaying the rest of your sketch. In order for the library to work, you must connect the servo signal wires to [**interrupt-capable pins**](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/).
The Servo Input library uses external interrupts to keep track of servo positions without delaying the rest of your sketch. In order for the library to work, you must connect the servo signal wires to [**interrupt-capable pins**](https://docs.arduino.cc/language-reference/en/functions/external-interrupts/attachInterrupt/).

| BOARD | DIGITAL PINS USABLE FOR INTERRUPTS |
|-----------------------------------|------------------------------------|
Expand All @@ -39,10 +39,13 @@ The Servo Input library uses external interrupts to keep track of servo position
| MKR Family boards | 0, 1, 4, 5, 6, 7, 8, 9, A1, A2 |
| Nano 33 IoT | 2, 3, 9, 10, 11, 13, A1, A5, A7 |
| Nano 33 BLE, Nano 33 BLE Sense | all pins |
| Nano RP2040 Connect | 0-13, A0-A5 |
| Nano ESP32 | all pins |
| GIGA R1 WiFi | all pins |
| Due | all digital pins |
| 101 | 2, 5, 7, 8, 10, 11, 12, 13 |

*<sup>[Original table from arduino.cc/reference, modified to show only CHANGE interrupts](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/)</sup>*
*<sup>[Original table from arduino.cc/reference, modified to show only CHANGE interrupts](https://docs.arduino.cc/language-reference/en/functions/external-interrupts/attachInterrupt/)</sup>*

Some third party boards such as the [Teensy 3.2](https://www.pjrc.com/store/teensy32.html) and the [ESP8266](https://en.wikipedia.org/wiki/ESP8266) support external interrupts on all pins. Be sure to check the documentation for your board before connecting your servos.

Expand Down
Loading