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:23] – [Setup the GPIO Pin as an Output] walkeradminled_pwm_control [2017/01/23 18:26] – [Using PWM from the Command Line] walkeradmin
Line 38: Line 38:
 ---- ----
  
-\\  
 \\  \\ 
 For this example I am going to use GPIO12 (or Physical Pin32). For this example I am going to use GPIO12 (or Physical Pin32).
Line 49: Line 48:
   * Setup the Pin in PWM Mode   * Setup the Pin in PWM Mode
   * Start the PWM   * Start the PWM
- 
  
 ---- ----
Line 69: Line 67:
 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 78: Line 79:
 \\  \\ 
 \\  \\ 
 +
 +----
 +
led_pwm_control.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1