Introduction
This module helps you to communicate with the Adafruit Bluefruit Connect app or use its protocols.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-bluefruitconnect
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-bluefruitconnect
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-bluefruitconnect
Usage Example
Normally this library is used with the Adafruit_CircuitPython_BluefruitConnect library (adafruit_bluefruit_connect). The included examples use that library. Below is a simple standalone example.
from adafruit_bluefruit_connect.color_packet import ColorPacket
from adafruit_bluefruit_connect.gyro_packet import GyroPacket
# [uart setup omitted]
color_packet = ColorPacket((70,75,80))
gyro_packet = GyroPacket.from_bytes(packet_buf)
uart.write(gyro_packet.to_bytes())
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Release files for adafruit-circuitpython-bluefruitconnect 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adafruit_circuitpython_bluefruitconnect-1.3.2.tar.gz | 32.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adafruit_circuitpython_bluefruitconnect-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.0 kB
Release files / adafruit_circuitpython_bluefruitconnect-1.3.2.tar.gz
| Download URL | adafruit_circuitpython_bluefruitconnect-1.3.2.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccc3ab9f35ef0d36c0bab231087196078c0ca502ebe05e15ea379f684169c50c
|
|
BLAKE2b-256 checksum How to use checksums |
ae38600b0f371fe822f8efeb31813cdf2ae39b3acb91047c8c07594dca398d2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / adafruit_circuitpython_bluefruitconnect-1.3.2-py3-none-any.whl
| Download URL | adafruit_circuitpython_bluefruitconnect-1.3.2-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6432885a5e0726f9e11dc7d3f45125bb5f77408b20a15d1000389ac2370119a
|
|
BLAKE2b-256 checksum How to use checksums |
344d612bdb0b56ae13ac2f89b9bd9d6a0af4350c57a06a84914a866258f67297
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|