Created
June 23, 2018 02:21
-
-
Save TakehikoShimojima/b1022cb63b566a661d32b84f3188c9d2 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
| class EnvSensor(Thread, Peripheral): | |
| def __init__(self, dev): | |
| Peripheral.__init__(self) | |
| Thread.__init__(self) | |
| self.setDaemon(True) | |
| self.dev = dev | |
| self.am = ambient.Ambient(channelID, writeKey) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment