An Arduino library including utilities and constructs for modern Object-Oriented and Event Driven Arduino. Includes Componenets and STL-like utilities (Function, Vector..).
I,m new working with C++ and esp8266 , But i think this question could be usefull to many people.
How use Vector, Function or Ref classes?
Wich import i should use ?
A potentiometer component that maps the input between 2 values.
So for example, if the wanted range is (1, 100), when the pot's output voltage is at ground, the object's reading will be 1 and 100 when the voltage is maximal.
In using the ArduinoComponents library, I found that I needed a RotaryEncoder component. I wrote one that makes use of TactileButton. I don't know if you'd want to include it. But here are the .h & .cpp files in case you want them (they're meant to be in the Components subfolder). RotaryEncoder.zip