From bbc5677a5ae74b1b10b522d5ca053357ad9b9890 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 7 Nov 2022 21:17:03 +0100 Subject: [PATCH] Updated comments for servo-motor example --- servomotor/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/servomotor/README b/servomotor/README index de908c9..cdbac11 100644 --- a/servomotor/README +++ b/servomotor/README @@ -1,4 +1,4 @@ -Servo-motor control using ADC input for angle control +Servo-motor control using serial communication for angle control Copyright 2016 Nathael Pajani @@ -20,7 +20,8 @@ Copyright 2016 Nathael Pajani *************************************************************************** */ This example shows the support of PWM for servo-motor control. -Servo-motor position is set by reading on ADC input 0. +Servo-motor position is set according to characters received on serial line, +between '0' and '9', with 20° steps. The PWM signal is output on port 0 pin 23 (LPC_TIMER_32B1_M0_PIO_0_23), using 32 bits timer 1, match channel 0. -- 2.43.0