Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 1 month 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.
- include "mbed.h"
- 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; }