Created
October 15, 2016 19:22
-
-
Save Noxville/1662a2614cee42032bebbb4b993cf350 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 random | |
import launchpad | |
from pygame import time | |
def main(): | |
lp = launchpad.LaunchpadPro() | |
lp.ListAll() | |
a = lp.Open(0) | |
lp.LedCtrlRawByCode( 81, 5 ) | |
lp.Reset() | |
lp.Close() | |
if __name__ == '__main__': | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment