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.0.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file frame_ble-1.0.0.tar.gz
.
File metadata
- Download URL: frame_ble-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cf20848af36814db3e79dad5857913f411ef71dc0fd3a2b3d2c6075da6fc5fb1
|
|
MD5 |
8ca89a6ef8b2c27e8defce485c439e0a
|
|
BLAKE2b-256 |
21824127f54a42a8e11f4fd4cea4b5d6c1d4ca94691f05ef5b7132ab406d95a1
|
File details
Details for the file frame_ble-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: frame_ble-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.2 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 |
f6357d7a2cccd56a45071724b29d76252b018079db7ce9e2a9ec252771857dc5
|
|
MD5 |
f62c0d61cb8380e441bdaee727f91fe3
|
|
BLAKE2b-256 |
1a68854e73933a97921c0e70635bc4ad6dc3176e0181be142c4fc0f26e22a820
|