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.0.5.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file frame_ble-1.0.5.tar.gz
.
File metadata
- Download URL: frame_ble-1.0.5.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ddee9b0e6a64b57ba6ab4e709de8bc2d11302b938b600a186e3d2a8eabb10b3b
|
|
MD5 |
c7466ca200462a68083e907e96fad8e7
|
|
BLAKE2b-256 |
afaa32cbd7bac94924983a355e5896b9f6c180c23821de1b60085c2a9ee49436
|
File details
Details for the file frame_ble-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: frame_ble-1.0.5-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 |
0bfb1c332aa5cbb4af218f25ac61dc74bb0570c2beedca6d2871be115200c516
|
|
MD5 |
7e6f01fdf7a8b0596cf921050cb50189
|
|
BLAKE2b-256 |
fc0c6e56111eb0cf5484fdb636418f7718389dde8d3e0cdb1b0e5bb48808a091
|