Hi
it's unclear how you would use setInputMode(Toggle::inputMode::input_pulldown) versus setInputInvert(true)
working exemple here with setInputInvert and messing around with the pin state after the begin (which means I overwrite likely what the class has done to the pin which requires intimate knowledge of the library to know in which order to do things)
https://wokwi.com/projects/347839208139784788
Request:
- how would you use setInputMode() and not have to mess around in the code with pinMode?
- improvement: possibility to establish the inputMode at constructor level