Jump to content
43oh

frankiboy

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Answering my own question since I found the solution. It was simple as expected, so I don't know why I didn't see this from the beginning. I need to enable the peripheral before I start using it. Adding the following line before setting the pin as input solved the problem: ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE); I assume Port A and F did not cause the same issue since the ports where in use by the driverlib/utils code.
  2. Hi, Quite new to this forum and the Stellaris launchpad. I've faced a problem and not found any answers after hours of searching. I feel pretty stupid about this one, since it should be very basic. I've set up gcc on my linux desktop and have been able to run several examples and tested some of my own code without any problems. I want to do some temperature readings using a DS18B20 temperature sensor. I soldered a temperature sensor to PE4. The problem I face is that everything seems to hang once I set PE4 as GPIO input. I've stripped down my code to make it easier to debug, please
×
×
  • Create New...