Skip to content

CitizenOneX/frame_ble_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frame-ble

Low-level library for Bluetooth LE connection to Brilliant Labs Frame

Frame SDK documentation.

Examples repo on GitHub.

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())

About

Low-level library for Bluetooth LE connection to Brilliant Labs Frame

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages