Added accidentally removed comment

This commit is contained in:
Kattni Rembor 2018-07-04 14:30:02 -04:00
parent ea869be57f
commit 1ef725b84f

View file

@ -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.