App v0.4.0
Connector
New features
- Made the rate at which messages get sent to your controller variable. This setting can be altered in the settings menu. You can now set the time between messages depending on your use case. Certain controllers like the Arduino Uno can't keep up when bulk data gets transmitted. Increasing the time between messages ensures the controller can handle the incoming data (for an Arduino Uno, 8ms seemed like the sweet spot, while the ESP32 can handle 0). The default value is set to 6ms.
- Send a connect and disconnect signal to the controller to check for connection on the controller side.
- Added ping request to actively check the connection with the connector from a controller
- Added manual retrieval of output value. This is intended to retrieve the last received value of an active output.
Fixed
- Sending the initial data to a microcontroller with a transmit-ready signal activated (reset on connection) would lead to the data arriving before the reset was complete. I've added a 2-second delay before sending any data to combat this.
- Removed redraw events from the log window
Library
- Added connection variable. This is a public variable that can be reset from your code. This variable determines whether or not you're currently connected to the connector.
//If connected
connector.connected == 1
//If disconnected
connector.connected == 0
- A function was added to manually retrieve the last value of a given ID (must be in the current bundle).
// Force a resubmit by the connector of the last value of ID 100
connector.sendGetValueById(100);
Docs
- A contribution chapter was added, including an explanation of the output structure.
- Added a first draft of the output menu (this will be completed ASAP).