Low-level library for Bluetooth LE connection to Brilliant Labs Frame
Project description
frame-ble
Low-level library for Bluetooth LE connection to Brilliant Labs Frame
Installation
pip install frame-ble
Usage
import asyncio
from frame_ble import FrameBle
async def main():
frame = FrameBle()
try:
await frame.connect()
await frame.send_lua("frame.display.text('Hello, Frame!', 1, 1);frame.display.show();print(nil)", await_print=True)
await frame.disconnect()
except Exception as e:
print(f"Not connected to Frame: {e}")
return
if __name__ == "__main__":
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frame_ble-1.1.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file frame_ble-1.1.0.tar.gz
.
File metadata
- Download URL: frame_ble-1.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ad8c50784a4ac243d68d9a0d054145c585115c58b7d1b66ad5a1b4764838a92c
|
|
MD5 |
b527dcba7a02f07aea647e6779d744bf
|
|
BLAKE2b-256 |
d4779a4a196839fdcb518803601e0f1a71b5fec77b6d42c63a179624452524b8
|
File details
Details for the file frame_ble-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: frame_ble-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d9e53aa920009e2bb0d54f08db258104317ef707a9942c48e3eac3f65111405f
|
|
MD5 |
12f42584dd1c84bee44b8aa1d617633f
|
|
BLAKE2b-256 |
21bcde1c048953567e5eb0686f84f35ac60a73a1ad59eb513f6d70cb02ba6711
|