User storage
User storage allows you to store variables in the device's non-volatile memory. This means that the variables will be saved even after the device is turned off.
Save variable
warning
The MCU memory has a limited number of write cycles. Do not save variables too often!
save -ey # Erase user storage, no prompt
var x y float
set x 3.14
set y 2
save -y /vars/x /vars/y # Store variable x and y in user storage
Load variable
var x y float # Before load, variables must be declared
load -y /vars/x /vars/y # Store variable x and y in user storage