clickButton library

Hello, sorry should have included that information.

Im using the Particle webide and a Photon.
I created a new clickButton.h file and copy pasted the .h code in to it,
then i also copy pasted the .cpp code in to the clickButton.cpp file.

I guess i need to make use of the #include command?
When i hit varify code i get that message.

I tried to include the clickButton.h to the .cpp file then i get other errors :frowning:

In file included from clickButton.cpp:2:0:
clickButton.h:8:25: error: expected ')' before 'buttonPin'
ClickButton(uint8_t buttonPin);

Note that im under process of learning so im not an advanced user :slight_smile:

Many thanx