It looks like stdout is already redirected to the programming port UART on the due - try this:
#include <stdio.h>
void setup() {
Serial.begin(9600);
}
void loop() {
printf("hello world!\n");
}
It looks like stdout is already redirected to the programming port UART on the due - try this:
#include <stdio.h>
void setup() {
Serial.begin(9600);
}
void loop() {
printf("hello world!\n");
}