Forum : ARM
Post Information | Post |
---|---|
June 19, 2009 - 3:38pm
|
I try the following example code (modified) to use setbits/resetbits, but the ODR register in the simulator does not get modified. Any ideas? GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6 | GPIO_Pin_7 | GPIO_Pin_8 | GPIO_Pin_9; while(1) /* Turn on leds connected to PC.07 pin */ /* Turn on leds connected to PC.08 pin */ |