From ea7b299066a417d699a4937a947907ef4b5d978c Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 28 Oct 2020 19:10:34 +0100 Subject: [PATCH 1/2] Updated servo docs to reflect PWM problem --- docs/servo.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/servo.md b/docs/servo.md index 174a04d9b..75ba25512 100644 --- a/docs/servo.md +++ b/docs/servo.md @@ -26,7 +26,8 @@ Run this example from the command line with: ```bash node eg/servo.js ``` - +> **Warning:** Servo library may interfere with PWM on pins 9 and 10 on some boards like UNO even if pins are not used by Servo. +> Use other PWM pins when Servo is connected. ```javascript const {Board, Servo} = require("johnny-five"); From d920855ad77c460d133c883868070073bf700ed5 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 25 Oct 2023 00:18:00 +0200 Subject: [PATCH 2/2] Update the message to include offical docs link --- docs/servo.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/servo.md b/docs/servo.md index 75ba25512..1786fc532 100644 --- a/docs/servo.md +++ b/docs/servo.md @@ -26,8 +26,9 @@ Run this example from the command line with: ```bash node eg/servo.js ``` -> **Warning:** Servo library may interfere with PWM on pins 9 and 10 on some boards like UNO even if pins are not used by Servo. +> **Warning:** Servo library may interfere with PWM on pins 9 and 10 on boards other than **Mega** even if pins are not used by Servo. > Use other PWM pins when Servo is connected. +> Please check out **usage** section in the [offical docs](https://www.arduino.cc/reference/en/libraries/servo/) for more information ```javascript const {Board, Servo} = require("johnny-five");