Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def run(self):
- while True:
- self.connect(self.dev) # デバイスにコネクトする
- latestDataRow = self.getCharacteristics(uuid=_OMRON_UUID(0x3001))[0]
- dataRow = latestDataRow.read()
- send2ambient(self.am, dataRow)
- time.sleep(300.0)
Add Comment
Please, Sign In to add comment