Update Bluetooth README.md (#97)

* Update README.md

Information on bluetooth connections.
This commit is contained in:
Campbell Sinclair
2018-09-21 18:10:59 +10:00
committed by Daniel Spindelbauer
parent 4577e85187
commit 5f16b80d28

View File

@@ -159,6 +159,8 @@ while bluetooth.isscanning():
Opens a BLE connection with the device specified by the `mac_addr` argument. This function blocks until the connection succeeds or fails. If the connections succeeds it returns a object of type `GATTCConnection`.
Connections are initiated by the central device. There is a maximum of 4 simultaneous connections.
```python
bluetooth.connect('112233eeddff') # mac address is accepted as a string
```