Added accidentally removed comment
This commit is contained in:
parent
ea869be57f
commit
1ef725b84f
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ for pin_name in dir(board):
|
||||||
try:
|
try:
|
||||||
p = pulseio.PWMOut(pin)
|
p = pulseio.PWMOut(pin)
|
||||||
p.deinit()
|
p.deinit()
|
||||||
print("PWM on:", pin_name)
|
print("PWM on:", pin_name) # Prints the valid, PWM-capable pins!
|
||||||
except ValueError: # This is the error returned when the pin is invalid.
|
except ValueError: # This is the error returned when the pin is invalid.
|
||||||
print("No PWM on:", pin_name) # Prints the invalid pins.
|
print("No PWM on:", pin_name) # Prints the invalid pins.
|
||||||
except RuntimeError: # Timer conflict error.
|
except RuntimeError: # Timer conflict error.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue