Arduino Button with status LED

I recently acquired a very nice push button with a status LED build in:

I want to use this button in conjunction with my Arduino Due but finding a proper library that supports debouncing, blinking, multiple buttons and the Arduino due proved to be rather difficult.

Finally I decided to experiment myself and I started off with the “standard” button debouncing without using delay() example found on arduino.cc and changed it to my requirements:

© 2012 Premium. All rights reserved. Premium theme by ThemeSmarts