I wasn't too sure where to put this but I thought as it's pi4j related here might be best.
I'm messing around with the examples on the pi4j website in preparation for a project I want to try, the only problem is my programming is alright but I have no clue about electronics. I'm looking at the simple example for listening to the state of a pin from a button push http://pi4j.com/example/listener.html but I don't have this momentary switch to try it out:
All I have at hand is a mini button from the kit I got with the raspberry pi and it won't work for me:
Can anyone please tell me how to get this switch to function with the example or where to buy one that will work (in the uk)?