Dear all,
i am using energia for programming msp430g2 launch pad i am having problem in writing code for toggle led using a button switch . can anybody give me the code .
The code should do;
button pressed and realsed - led on
button again pressed and released - led off
and so onnn.....
please give me energia code.