Closed noiasca closed 10 months ago
Arduino 1.8.19 Library Manager download of Version 2.1.0 doesn't correspond to Github 2.1.0 version. For example
void setLongPressIntervalMs(const unsigned int ms) { _long_press_interval_ms = ms; };
in Onebutton.h and the example LongPressEvents is missing when downloaded to local library folder.
Furthermore in keywords.txt the setLongPressIntervalMs is missing as keyword (even on the repository).
This was caused by editing the library.json after the tag 2.1.0
Version 2.5.0 should fix this and platform.io version is in sync.
Arduino 1.8.19 Library Manager download of Version 2.1.0 doesn't correspond to Github 2.1.0 version. For example
void setLongPressIntervalMs(const unsigned int ms) { _long_press_interval_ms = ms; };
in Onebutton.h and the example LongPressEvents is missing when downloaded to local library folder.
Furthermore in keywords.txt the setLongPressIntervalMs is missing as keyword (even on the repository).