Keep value when jumping to next value?

It’s very difficult to explain what I want.

I want to use MAP node to set min and max values to dimmer channel.

I want when I jump between the values, Smin, Smax, Tmin and Tmax to be “kept”, saved, so that when I jump to the next value and start screwing on the encoder, the value continues where I was.

What is happening now is that e.g. if I turn the encoder to 0.5 and jump on to Smax, that value will be 0.5 no matter what it was before.

So the question is how do I get the value to be saved, retained, on Smin, Smax, Tmin, Tmax?

I maneged to do something that worked as long as power is on.

But I cant save it after power los.

This is exactly what I want to do with the “MAP-CLIP” nodes tuning values:

Save rotary encoder value on ItsyBitsy M0 Express

None of the EPROM nodes seems to wotk with ItsyBitsy M0 Express?

Please add FlashStorage_SAMD library

This is way to advanced for me:

Error meesage:

inside XOD/ _ lib _ / "user " / the library must be “ArduinoEEPROM”

it is library has not been downloaded

#pragma XOD require ""

But that dose not solve the problem? Right?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.