Hi all.
Ok, not that interesting but... (paraphrased code)
Serial pc(USBTX, USBRX); // tx, rx
main() {
while(1) {
wait(1)
printf("I'm here");
pc.printf("load1", load1*1);
}
}
With the missing "pc" on the printf, I STILL get both put out to teraterm.. BUT.. odd order.
The load1 ones,,. they pop up every second as it runs, the other 5, they all turn up in one go, as if being written out of a cache somewhere?
...I'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereload1load1load1load1load1load1load1load1I'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereload1load1load1....
(ps, yes I can see I haven't put a %f in my printf, I'm off to do that now!)
Hi all.
Ok, not that interesting but... (paraphrased code)
Serial pc(USBTX, USBRX); // tx, rx
main() {
while(1) {
wait(1)
printf("I'm here");
pc.printf("load1", load1*1);
}
}
With the missing "pc" on the printf, I STILL get both put out to teraterm.. BUT.. odd order.
The load1 ones,,. they pop up every second as it runs, the other 5, they all turn up in one go, as if being written out of a cache somewhere?
...I'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereload1load1load1load1load1load1load1load1I'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereI'm hereload1load1load1....
(ps, yes I can see I haven't put a %f in my printf, I'm off to do that now!)