Mono Wireless TWELITE Wings API for 32-bit Arduinos
日本語版はこちら
MWings is a library that communicate with TWELITE wireless modules.
This library is suitable for TWELITE SPOT series.
You can receive packets from TWELITE child devices and send commands to TWELITE child devices through the connected TWELITE parent device.
Open the Library Manager from the Arduino IDE, then search for MWings
and install it.
See details for Installing MWings Library.
Built for ESP32 modules (e.g. TWELITE SPOT) and Arduino UNO R4 series.
8-bit Arduino boards (like UNO R3) are NOT supported.
It is strongly recommended to use App_Wings (>= v1.3.0) for the TWELITE parent device connected with the board.
- App_Twelite
- Get digital and analog input states.
- Pre-installed on TWELITE (SMD) and TWELITE DIP series.
- Example:
- App_ARIA (TWELITE ARIA mode)
- Get air temperature, relative humidity and magnet state.
- Pre-installed on TWELITE ARIA series.
- Examples:
- App_CUE (TWELITE CUE mode)
- Get acceleration and magnet state.
- Pre-installed on TWELITE CUE series.
- Example:
- App_PAL (AMBIENT)
- Get air temperature, relative humidity and illuminance.
- Pre-installed on TWELITE PAL series (App_PAL).
- Examples:
- App_PAL (MOTION) / App_CUE (MOTION PAL mode)
- Get acceleration.
- Pre-installed on TWELITE PAL series (App_PAL) and TWELITE CUE series (App_CUE).
- Examples:
- App_PAL (OPENCLOSE) / App_CUE (OPENCLOSE PAL mode) / App_ARIA (OPENCLOSE PAL mode)
- Get magnet state.
- Pre-installed on TWELITE PAL series (App_PAL), TWELITE ARIA series (App_ARIA) and TWELITE CUE series (App_CUE).
- Example:
- App_Uart (Mode A, Simplified or Extended ASCII format)
- Get serial data received on TWELITE child devices.
- Pre-installed on TWELITE UART series.
- Example:
- App_IO
- Get digital input states.
- Example:
- Any TWELITE
- Get binary payload with ASCII-formatted serial input (starts with
:
and ends withCRLF
). - Example:
- Get binary payload with ASCII-formatted serial input (starts with
- Act
- Get binary data from acts
- Example:
- App_Twelite
- Set digital output states and PWM duty ratios.
- Pre-installed on TWELITE (SMD) and TWELITE DIP series.
- Example:
- App_IO
- Set digital output states.
- Example:
- App_Uart (Mode A, Simplified ASCII format)
- Set serial data to send on TWELITE child devices.
- Pre-installed on TWELITE UART series.
- Example:
- App_PAL (NOTICE)
- Set full-color LED states.
- Pre-installed on TWELITE PAL series (App_PAL).
- Examples:
- Any TWELITE
- Set some binary data with ASCII-formatted serial output (starts with
:
and ends withCRLF
). - Examples:
- Set some binary data with ASCII-formatted serial output (starts with
Copyright (C) 2023 Mono Wireless Inc. All Rights Reserved.
Released under MW-OSSLA-1J,1E (MONO WIRELESS OPEN SOURCE SOFTWARE LICENSE AGREEMENT).