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.1.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file frame_ble-1.1.1.tar.gz
.
File metadata
- Download URL: frame_ble-1.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3da4e13d6001cca2b8d7118b4e1495bae4a7e7574f2aff50f5173cd3708cedd1
|
|
MD5 |
f58c192d263c7e19804eccfdf872edd8
|
|
BLAKE2b-256 |
87d5c87d9eb9095784bd57751b2b3f86e876d457350bf8d9f991d875fc3508b7
|
File details
Details for the file frame_ble-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: frame_ble-1.1.1-py3-none-any.whl
- Upload date:
- Size: 6.7 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 |
e8756998b7bb2475a2d157bcc9806c1f24329288d25c00af211a1281dc508ce8
|
|
MD5 |
d2c93cb5bee74e06952a7f1d3db4f082
|
|
BLAKE2b-256 |
a13c6d7e93abe3d3ffb0db454dcf269fdd826b78ce6afcc3d0000db6bac71870
|