Last active
March 25, 2016 20:45
-
-
Save stestagg/45247103de5c3bb66230 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
>>> from machine import * | |
>>> from pyb import * | |
>>> iic = I2C(Pin(2), Pin(0)) | |
>>> iic.writeto(60, b'\x80\xAF') # Turn display on | |
>>> iic.writeto(60, b'\x80\x8D\x80\x14') # Set the voltage pump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment