1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00

mention dependency

This commit is contained in:
Andrey Pohilko 2017-09-13 20:43:05 +03:00
parent f2d78cd052
commit 355a444089
3 changed files with 14 additions and 8 deletions

View File

@ -1,18 +1,22 @@
Best way to start is to look at [demo.py](demo.py) file, or maybe run it.
# Python library to interact with LEGO Move Hub
# Features
Requires `gattlib` to be installed, currently Python 2.7 only
Best way to start is to look at [demo.py](demo.py) file, and run it.
## Features
- auto-detect and connect for Bluetooth device
- permanent Bluetooth connection server for faster debugging
- angled and timed movement for motors
- LED color change
# Ideas
## Ideas
Make it 2/3 compatible
Add travis unit tests and coverage
# Links
## Links
- https://github.com/JorgePe/BOOSTreveng - source of protocol knowledge
- https://github.com/RealTimeWeb/blockpy

View File

@ -98,9 +98,10 @@ if __name__ == '__main__':
connection = BLEConnection().connect()
hub = MoveHub(connection)
sleep(1)
demo_all(hub)
#sleep(1)
# hub.get_name()
demo_port_cd_motor(hub)
#demo_all(hub)
#demo_port_cd_motor(hub)
# demo_led_colors(hub)
sleep(1)
#sleep(1)

View File

@ -6,4 +6,5 @@ setup(name='pylgbst',
author='Andrey Pokhilko',
author_email='apc4@ya.ru',
packages=['pylgbst'],
requires=['gattlib']
)