Question
Nucleo-F070RB + mbed PB6 problem?
Posted on July 28, 2015 at 19:34
I have a Nucleo-F070RB and am using mbed for programming.
Is there something special about PB6 that prevents it from being used as a GPIO? It appears to be configured as as oscillator output (?) at 500Hz.The code below has no effect (PB6 still outputs a 500Hz square wave):&sharpinclude ''mbed.h''DigitalOut myPin(PB_6);int main() { myPin = 0; while(1) { }}Thanks for any insight...--Jay #mbed #pb6 #nucleo-f070rb