3 years ago.

Don't working putc() on exported project

I exported my program to EWARM and Keil uVision5.

When running a program, that stopped at 'putc()'

why that..?

next is it.

  1. include "mbed.h"
  2. include "MIDI.h"

DigitalOut green_led(LED1); DigitalOut red_led(LED2);

Serial a(PA_9, PA_10);

int main() { char input = 'c'; green_led = 1;

a.baud(9600); red_led = 1;

a.putc(input);

green_led = 0; }

Comment on this question
Be the first to answer this question.

You need to log in to post a question