Hi guys, I am trying to implement a pulse counter that counts square wave at around 1-2Hz. The input is at pin 34. I am running WDT interval to function as a clock so that i can use the results to count the interval between the pulses. However, the counter I put into the WDT vector does not count up, but the LED at pin 32 does light, which I am using to check if it enters the interrupt. I was wondering if anyone can provide any assistance with this.
#include <msp430.h>
volatile unsigned int count;
volatile unsigned int beat_count;
void InitializeSqWaveInput(void);
char string[7];