Raspberry PWM LED Control
Jump to navigation
Jump to search
We'll use GPIO 24/ Pin 18 to drive the LED as in the default configuration of rc-dukes.
see Self_Driving_RC_Car#Servo Interface - Servoblaster
GPIO 24 has ServoId 6 so
echo 6=120 > /dev/servoblaster
will set the LED to half bright