diff --git a/README.md b/README.md index 1406404..ca3f2d5 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,8 @@ sudo python -c "from pylgbst.comms import *; import logging; logging.basicConfig ## Roadmap -- make notifications from pygattlib to quickly get into parallel thread, to avoid segfaults -- support working with push button +- experiment with motor commands, find what is hidden there - Give nice documentation examples, don't forget to mention logging -- make angled motors to be synchronous by default => 3-state status - make sure unit tests cover all important code - generalize getting device info + give constants (low priority) diff --git a/demo.py b/demo.py index 0155542..c928458 100644 --- a/demo.py +++ b/demo.py @@ -1,6 +1,8 @@ +# coding=utf-8 from time import sleep from pylgbst import * +from vernie import say log = logging.getLogger("demo") @@ -157,11 +159,6 @@ def demo_all(movehub): demo_motor_sensors(movehub) -def cb_log(val1, val2=None, val3=None): - pass - # log.info("V1:%s\tV2:%s\tV3:%s", unpack("= pow(2, 16): - raise ValueError("Too large value for seconds: %s", seconds) - command += pack('