printf in mbed mit STM32F429I-DISC1 und PlatformIO verwenden
English
Deutsch
In PlatformIO können Sie printf direkt ohne spezielle Konfiguration für das STM32F429-DISC1-Discovery-Board verwenden:
mbed_printf_example.c
#include <mbed.h>
int main() {
while(1) {
printf("Hello world\n");
wait(0.5);
}
}Dieses Programm gibt zweimal pro Sekunde Hello world aus. Sie können die Ausgabe mit der PlatformIO-Monitor-Funktion verfolgen.
Check out similar posts by category:
Mbed
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow