Skip to content

Instantly share code, notes, and snippets.

@wwj718
Created January 30, 2018 15:08
Show Gist options
  • Save wwj718/97ade94d3dd2fa15c43d7167d82182b8 to your computer and use it in GitHub Desktop.
Save wwj718/97ade94d3dd2fa15c43d7167d82182b8 to your computer and use it in GitHub Desktop.
# main.py -- put your code here!
c = '''
import pyb
red_led = pyb.LED(1) #
red_led.on()
'''
exec(c.strip())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment