Hello,
I am trying to make a very simple program using the MSP4305739 exp board. Here is my code:
#include <msp430.h>
int main(void)
{
PJDIR = BIT3;
PJOUT = BIT3;
P2DIR &= ~BIT0;
P2REN = BIT0;
P2OUT &= ~BIT0;
while(1){}
}
When I compile and run, then probe pin 2.0 I get 2.49V. It should be 0V since it is hooked up to a pull down.
Any idea why this is happening?
Thanks,
Omri