Simple counter with Teensy

Hey all,

I have a Teensy that I have been playing around with and everything seems to be working great. I am having a hard time with some programming that should be rather simple.

I am going to install the Teensy into a Staples "Easy" button. Every time the button is pressed I need a simple program to increase the count by 1. This program is going to keep track of the counts over time, basically like a tiny database. I am sure this is super simple and I am just over thinking it. I will be doing all the work in OS X.

Thanks in advance for the help.

Have you looked at the example sketches that came with it? Like: 2.Digital -> Button?