title: MSP430 LaunchPad | Assign double click on button
body: <p>I am using MSP-EXP430F5529LP. I can already blink the red led using</p>
  <pre><code>#pragma vector=TIMER2_A0_VECTOR
  __interrupt void Timer_A2(void)
  {
      P1OUT ^= 0x01;
  }
  
  </code></pre>
  <p>and</p>
  <pre><code>    TA0CCR0 = 25000;
      TA0CCTL0 |= CCIE;
      TA0CTL |= TASSEL_2 | ID_3 | MC_1 | TACLR;
  </code></pre>
  <p>I would really like some assistance in making a double click check on</p>
  <pre><code>#pragma vector=PORT1_VECTOR
  </code></pre>
  <p>so i can distinguish it from single click. I just want to use simple if's in there and do some staff based on single or double click.</p>