4 Digit Led Display

https://www.sparkfun.com/products/9483

On this link there is code to run the display under documents.

I would like to remove the demonstration part and do 5 buttons. Each button display a number. say 5 or 17, 234, 1034.

Can someone assist this old brain to achieve that.

Thanks

Attached. Not tested, but a starting point.

_7Seg_button_Example.zip (2.47 KB)