Created
January 1, 2017 08:32
-
-
Save maxpromer/277f3b7759706cf77a22aff2d81a6706 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 mraa | |
import time | |
x = mraa.Gpio(203, raw=True) | |
x.dir(mraa.DIR_OUT) | |
while True: | |
x.write(1) | |
time.sleep(0.2) | |
x.write(0) | |
time.sleep(0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment