![]() ![]() RuntimeError: connect: Device or resource busy (16) Which should change the color of the engine's LED, and spin it a bit, then stop. My Python code is now: from gattlib import GATTRequester > connect A0:E6:F8:49:E2:93 throws "connection successful". The command sudo hcitool -i hci0 lescan shows, when the motor is in pairing mode, the output A0:E6:F8:49:E2:93 LPF2 Smart Hub 2 I. hci0 is the dongle, and hci1 the internal one. I read a lot about the specific BLED112 USB dongle, which is also recommended by Lego, but I currently just have a generic Bluetooth 4.0 USB dongle. ![]() The Lego WeDo 2.0 "hub" uses a bluetooth low energy technology, and to it, a motor is connected via cable, that I want to spin. I am trying to control the motor of a Lego Wedo 2.0 set via Python from an ubuntu distribution. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |