AnsweredAssumed Answered

Nucleo-F070RB + mbed PB6 problem?

Question asked by francis.jay on Jul 28, 2015
Latest reply on Jul 29, 2015 by francis.jay
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):

#include "mbed.h"

DigitalOut myPin(PB_6);

int main() {
     myPin = 0;
     while(1) {
     }
}

Thanks for any insight...
--Jay

Outcomes