This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LaunchPad newbie code problem



Running an LM4F120 LaunchPad Dev board, under Windows 7 with the TI-provided Code Composer Studio (v. 5)

I have been able to build and modify the example programs, launch them, and debug.

In preparation for an application I want to build the LP into, I was attempting to read some pins set as inputs, and output their states to the RGB LED.

Clearly, I need to define the pins I want to use as Inputs, and used GPIOPinTypeInput() as it seemed it should be:

    GPIOPinTypeGPIOInput(GPIO_PORTE_BASE, S1|S2|S4|S8|Go|Clr);  (The uchar bits were properly defined, using GPIO_PIN_x #defines)

Build succeeds properly, but in Debug, the program hangs when it hits the above line.

I tried with both PORTE and PORTD, with the same results.

Any ideas what I'm doing wrong?

Thanks,

Dave