2015-07-28 10:34 AM
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-f070rb2015-07-28 11:31 AM
Not that I'm aware of.
Do you have a shield plugged into the board?Suggest you go to the mbed forum, as there's not much traction here, in my observation.2015-07-28 06:40 PM
Ok - thanks.
No shield plugged in - just the bare Nucleo board.I'll try over at mbed. It wasn't clear to me if ST Micro was responsible for their portion of the mbed code, or if someone else was.If anyone else reading has a Nucleo-F070RB board, could you let me know if PB6 is behaving properly for you?--Jay2015-07-29 08:51 AM