Difference between revisions of "Raspberry PWM LED Control"

From BITPlan Wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
[[File:PILEDPWM-2019-06-21.png|400px]]
 
[[File:PILEDPWM-2019-06-21.png|400px]]
 +
see {{Link|target=Self_Driving_RC_Car#Servo Interface - Servoblaster}}
 +
 +
<source lang='bash'>
 +
echo 6=120 > /dev/servoblaster
 +
</source>
 
[[Category:Raspberry]]
 
[[Category:Raspberry]]

Revision as of 18:30, 22 June 2019

We'll use GPIO 24/ Pin 18 to drive the LED as in the default configuration of rc-dukes.

Raspberry-pi-pinout.png

PILEDPWM-2019-06-21.png see Self_Driving_RC_Car#Servo Interface - Servoblaster

echo 6=120 > /dev/servoblaster