Launchpad MSP430 incremental blink with button

blinkbuttonenergialedmsp430

I'm new with this. I'm trying to make an incremental blinking LED with every time that I push the button, I'm using Energia and Launchpad MSP430, I don't know if somebody can give a example code to do this?

Best Answer

Energia has great tutorials at http://energia.nu/Guide_index.html

Mainly the Button Tutorial (use a pushbutton to control an LED.)

And the Button State Change Tutorial (counting the number of button pushes.)

A little modification of both will give you what you need.