Re: [Mspgcc-users] Timer interrupt problem

2012-09-27 Thread Eric Decker
Couple of things. First when sending source do it as an attachment so it doesn't get mangled. lose the #include and replace it with #include See if that helps. The command line will cause the right thing to happen when you say -mmcu=msp430g2231. On Thu, Sep 27, 2012 at 6:09 PM, Brian Gorma

[Mspgcc-users] Timer interrupt problem

2012-09-27 Thread Brian Gorman
I am trying to compile this: //MSP430 Annoyatron //Brian Gorman 2011 #include int i=3D0; void main(void) { WDTCTL =3D WDTPW + WDTHOLD; // Stop WDT P1DIR |=3D 0x32;// P1.5 output CCTL0 =3D CCIE; // CCR0 interrupt enable