From: Nathael Pajani Date: Mon, 7 Nov 2022 20:17:03 +0000 (+0100) Subject: Updated comments for servo-motor example X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=bbc5677a5ae74b1b10b522d5ca053357ad9b9890;p=soft%2Flpc122x%2Fexamples Updated comments for servo-motor example --- 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.