I’m trying to use the ButtonEvent library found here: https://github.com/fasteddy516/ButtonEvents
I was unable to search for it in the Libraries and manually dragged and dropped it into my lib folder.
When I try to build my project in PlatformIO, I get the following error:
error: request for member ‘attach’ in ‘ledEyesButton’, which is of non-class type ‘ButtonEvent’
However, if I jump over to Arduino IDE, the project builds.
What am I doing wrong?