This library provides functions for the
Default timeout after which the display will turn off [sec]
Default time after which the circle segments on the display should be completely filled and the setup mode should be started [ms]
Time for the RSSI-measurement in setup mode [s]
myDatalog MINI Base Library errors
Operation mode screens
Setup mode screens
Error codes during operation
Counter inputs to use
Digital inputs to use
Initializes the myDatalog MINI Base Library. It is mandatory to initialize the ~uplink library beforehand (using uplinkInit()).
Turns off all LEDs of the display (e.g. deactivates the display)
Function needs to be called when some input changes it's state. It transfers the states of the inputs (GPIOs) to the library.
Function needs to be called when the button is pressed. The timeout after which the display is deactivated is reset and the animation with the circle segments filling in clockwise direction is started.
Function needs to be called when the button is released. The timeout after which the display is deactivated is reset and the circle animation is stopped.
Shows the GSM/UMTS/LTE signal strength (mobile network connection).
RSSI [dBm] | Segments |
---|---|
-200 … -125 | ▮ |
-124 … -110 | ▮ ▮ |
-109 … -100 | ▮ ▮ ▮ ▮ |
-99 … -70 | ▮ ▮ ▮ ▮ ▮ ▮ |
-69 … -1 | ▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮ |
Shows the state of charge in % (SOC).
SoC [%] | Segments |
---|---|
0 … 4 | ▮ |
5 … 9 | ▮ ▮ |
10 … 39 | ▮ ▮ ▮ |
40 … 89 | ▮ ▮ ▮ ▮ ▮ |
90 … 100 | ▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮ |
Displays the corresponding operation mode screen
Displays the corresponding setup mode screen
RSSI [dBm] | Segments | Info symbol |
---|---|---|
-200 … -125 | ▮ | red |
-124 … -115 | ▮ ▮ | red |
-114 … -110 | ▮ ▮ ▮ | red |
-109 … -105 | ▮ ▮ ▮ ▮ | yellow |
-104 … -100 | ▮ ▮ ▮ ▮ ▮ | yellow |
-99 … -90 | ▮ ▮ ▮ ▮ ▮ ▮ | yellow |
-89 … -70 | ▮ ▮ ▮ ▮ ▮ ▮ ▮ | green |
-69 … -1 | ▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮ | green |
Resets the timeout after which the display is deactivated.
Init a counter.
Close and deinit a counter.
Get value of a counter.
Get and reset last value.
Init a digital input.
Close and deinit a digital input.
Get state of a digital input.
Stuck state changed