Module to communicate with APIdou, the connected plush
Project description
APIdou - Python communication with APIdou
========================================================================
This module based on PyGATT (by Chris Peplin) makes easier to communicate
over BLE with APIdou, the connected plush (www.apidou.fr).
Example code :
```
from apidou import APIdou
# create an APIdou object using gatttool and a given MAC address
device = APIdou("linux", "AA:BB:CC:DD:EE:FF")
device.connect()
device.setVibration(True)
time.sleep(0.1)
device.setVibration(False)
device.disconnect()
```
More examples on https://github.com/iadjedj/APIdouExamples/python
========================================================================
This module based on PyGATT (by Chris Peplin) makes easier to communicate
over BLE with APIdou, the connected plush (www.apidou.fr).
Example code :
```
from apidou import APIdou
# create an APIdou object using gatttool and a given MAC address
device = APIdou("linux", "AA:BB:CC:DD:EE:FF")
device.connect()
device.setVibration(True)
time.sleep(0.1)
device.setVibration(False)
device.disconnect()
```
More examples on https://github.com/iadjedj/APIdouExamples/python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apidou-0.2.1.tar.gz
(4.2 kB
view hashes)