The MWX Library
Mono Wireless C++ Library for TWELITE.
最終更新
Mono Wireless C++ Library for TWELITE.
最終更新
Please refer to the section. If you have any questions or concerns, please contact our support desk.
This page contains information that is still under development. The contents of this page may not yet be reflected in the public source code.
The MWX library is intended to simplify the code notation of the TWELITE radio module. a program created with MWX is called an act. There are two types of acts: descriptions by loops and descriptions by events (called BEHAVIOR).
This page introduces the main features of ACT.
Description by loop (setup()
, loop()
). Suitable for writing small-scale functions.
Event-driven application description. It is possible to define various event and interrupt handlers, as well as a state machine within a class that is suitable for describing complex behavior of the application, and write code with good visibility. This description is called BEHAVIOR.
Simplify peripheral procedures. Defines class objects to handle commonly used UART, I2C, SPI, ADC, DIO, timer, and pulse counter.
A simple relay network is defined. This relay network is implemented in the same way as the TWELITE standard application, and is characterized by the fact that individual addresses are managed by 8-bit logical IDs, and that wireless packets can be sent to the network immediately after power-on because there is no communication to build the network.
Board definition for PAL and MONOSTICK. Easy handling of sensors etc. on the board.