Hi all,
I'm trying to use the basic "Hello World" program provided to get to grips with debugging to the Terminal (trying on both OS X and Ubuntu)
Hello World!
#include "mbed.h"
Serial pc(USBTX, USBRX); // tx, rx
int main() {
pc.printf("Hello World!\n");
}
It goes on to say you need to use the command /dev/tty.usbmodem* (mac) or /dev/tty.ACM* (linux)
However I keep getting the same error on both machines - :command not found. Do I need to do something else before this will work? The handbook doesn't mention anything else?
Probably a really simple question and an even simpler solution, but I'd really appreciate some help!
Thanks,
Dan
Hi all,
I'm trying to use the basic "Hello World" program provided to get to grips with debugging to the Terminal (trying on both OS X and Ubuntu)
It goes on to say you need to use the command /dev/tty.usbmodem* (mac) or /dev/tty.ACM* (linux)
However I keep getting the same error on both machines - :command not found. Do I need to do something else before this will work? The handbook doesn't mention anything else?
Probably a really simple question and an even simpler solution, but I'd really appreciate some help!
Thanks, Dan