hbldh / MetaWear-SDK-Python

MetaWear Python SDK for Raspberry Pi by MBIENTLAB

Home Page:https://mbientlab.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MetaWear Python SDK

Python SDK for creating MetaWear apps on the Linux platform. This is a thin wrapper around the MetaWear C++ API so you will find the C++ documentation and API reference useful. Also, check out the scripts in the examples folder for full sample code.

This is not the pymetawear package. That is a community developed Python SDK which you can find over here .

Install

Use pip to install the metawear package. It depends on pygattlib so ensure your Linux environment first has the necessary dependencies installed.

Usage

Import the MetaWear class and libmetawear variable from the metawear module and everything from the cbindings module.

If you do not know the MAC address of your device, use pygattlib to scan for nearby devices.

Once you have the device's MAC address, create a MetaWear object with the MAC address and connect to the device.

Upon a successful connection, you can begin calling any of the functions from the C++ SDK, for example, blinking the LED green.

About

MetaWear Python SDK for Raspberry Pi by MBIENTLAB

https://mbientlab.com

License:Other


Languages

Language:Python 100.0%