User Tools

Site Tools


led_pwm_control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
led_pwm_control [2017/01/23 18:22] – [Using PWM from the Command Line] walkeradminled_pwm_control [2017/01/23 18:24] – [Set the PWM Frequency] walkeradmin
Line 49: Line 49:
   * Setup the Pin in PWM Mode   * Setup the Pin in PWM Mode
   * Start the PWM   * Start the PWM
 +
  
 ---- ----
Line 59: Line 60:
 This sets the mode to Output This sets the mode to Output
 \\  \\ 
 +
 +----
 +
 ==== Set the GPIO Pin Mode to PWM === ==== Set the GPIO Pin Mode to PWM ===
 \\  \\ 
Line 65: Line 69:
 This sets the GPIO Pin mode to PWM. This sets the GPIO Pin mode to PWM.
 \\  \\ 
 +
 +----
 +
 ==== Set the PWM Frequency ==== ==== Set the PWM Frequency ====
 \\  \\ 
Line 75: Line 82:
 \\  \\ 
  
- +----
- +
- +
- +
-pi@PiNTP:~ $ gpio -g pwm 12 50+
  
led_pwm_control.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1