LaRoomy / LaRoomyApi_STM32

ST STM32 remote framework to interact with the LaRoomy App

Home Page:https://api.laroomy.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LaRoomyApi_STM32

This is the LaRoomy Api remote framework library. Implementing this library enables your Portenta H7 project to interact with the LaRoomy App. The library is written for the ST STM32 platform and is intended to be used with the PlatformIO embedded development platform or the Arduino IDE.

The complete documentation for the library is provided on the LaRoomy Api Website.

How to use the Library

Usage with PlatformIO

Prerequisites

This library requires Platform IO to be installed in Visual Studio Code.

Implementation

  • Add the dependency to the platformio.ini file of your project:
lib_deps = https://github.com/LaRoomy/LaRoomyApi_STM32
  • Include the repective header in your main project file
#include <LaRoomyApi_STM32.h>
  • Now you can use the LaRoomy Api with the respective access operator
LaRoomyApi.begin();

Usage with Arduino IDE:

Prerequisites

This library requires the Arduino IDE to be installed

Implementation

  • Download this repository as .zip file (click on '<>Code' and select 'Download ZIP')
  • Open the Arduino IDE
  • Click on the 'Sketch' entry on the menu and select 'Include Library' > 'Add .ZIP Library'
  • Select the downloaded .zip file and press OK
  • When the library was successful installed, it can be used by clicking on 'Sketch' > 'Include Library' in the menu and select the LaRoomy Api library in the section for the contributed libraries
  • Now you can use the LaRoomy Api with the respective access operator:
LaRoomyApi.begin();

NOTE: This library depends on the ArduinoBLE library which must be also installed (if it isn't done automatically)

Examples

A detailed description of the examples with test schematics can be found here.

Further Information

Click here for detailed instructions on how to use the LaRoomyApi.

About

ST STM32 remote framework to interact with the LaRoomy App

https://api.laroomy.com

License:MIT License


Languages

Language:C++ 97.4%Language:C 2.6%