Guest
#4083197
Hello Folks, I tear my hair out over this. I have a STM32F0 Discovery board here and i would like to get all 16 bits of PORTC high. Most of the pins do what i expect them to do, but PC1 and PC2 dont. They stay low out of what ever reason. I am a bloody newbie in this , so please dear gurus, give me some code that will get pin1 and pin 2 in the high state. I am not sure what is wrong here. In some data sheet of the board is found that these 2 pins are also used for external interrupts but i am not sure if that is the reason and how to disable that alternative function to get these 2 pins into a usable state. Any help would be deeply appreciated, I am chewing on this problem already since a week and ready to give up on it.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |