Open TomaTLAB opened 8 years ago
I like the idea! It could also bring a performance benefit since the linked list only needs to be traversed once.
I would have expected the second argument to the callback to be the from value, but reading the code I see it is a function code that initiated the change. Do you have a specific use-case for that?
Hi! I add this argument for tracking from where callback occur - inside the lib or in my own code, and make a decision on this info. I need to look in my code to remember for what I made it :)
Hi, Andre. It maybe a powerful mechanism for range checking, storing a values in EEPROM, etc.