-
-
Save pintman/30011f7602cbe59c138f2325560a54a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setup(33, GPIO.OUT) # red LED | |
p = GPIO.PWM(33, 50) # channel=33 frequency=50Hz | |
p.start(80) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment