This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

51822 p08 does not work as digital output if UART is enabled

Hi, I'm trying to work out, why p08 stops working as DO if mbed Serial is used.

Code is pretty minimalistic:

#include "mbed.h"

    int main() {
        //Serial pc(p15, p16);   
        DigitalOut myled(p8);
        myled = 1;
    }

Works perfectly fine with Serial commented out. Any ideas/comments/suggestions?

Related