Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from BIG import Box
- box = Box('my box', use_WiFi=True)
- box.new_OLEDi2c('my oled')
- # box.start_MQTT()
- INFO 2018-12-12 10:40:52 initiate OLEDi2c("my oled")
- OLED initiated in 0.065995 seconds
- INFO 2018-12-12 10:40:52 show_image OLEDi2c("my oled")
- showimage opened size w0 h0=(720, 405)
- INFO 2018-12-12 10:40:52 show_image OLEDi2c("my oled")
- showimage hscale <= wscale resize size=(113, 64)
- INFO 2018-12-12 10:40:52 show_image OLEDi2c("my oled")
- showimage conversion_method "threshold"
- Thread me!
- keepgoing.isSet(): True
- Hey!! keepgoing: <threading._Event object at 0x72d279d0>
- dwell_time: None
- self.dwell_time: 2
- >>>
- >>> box.start_MQTT()
- trying to connect with MQTT:
- pingable is: True
- ('On Log: ', 'Sending CONNECT (u0, p0, wr0, wq0, wf0, c1, k60) client_id=Luke, I am your client')
- connect status: 0
- ('Disconnect code: ', 0)
- loop_start status: ('On Log: ', 'Received CONNACK (0, 0)')
- None('Connect code: ', 0)
- INFO 2018-12-12 10:45:47 initiate OLEDi2c("my oled")
- OLED initiated in 0.011983 seconds
- INFO 2018-12-12 10:45:48 show_image OLEDi2c("my oled")
- showimage opened size w0 h0=(720, 405)
- INFO 2018-12-12 10:45:48 show_image OLEDi2c("my oled")
- showimage hscale <= wscale resize size=(113, 64)
- INFO 2018-12-12 10:45:48 show_image OLEDi2c("my oled")
- showimage conversion_method "threshold"
- Thread me!
- keepgoing.isSet(): True
- Hey!! keepgoing: <threading._Event object at 0x73766b70>
- dwell_time: None
- self.dwell_time: 2
- asdf
- ^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[D^[[C^[[D^[[A('On Log: ', 'Sending PINGREQ')
- python -i mybox.py
Add Comment
Please, Sign In to add comment