Skip to content

Instantly share code, notes, and snippets.

@yamato8
Created December 25, 2013 02:54
Show Gist options
  • Save yamato8/8119818 to your computer and use it in GitHub Desktop.
Save yamato8/8119818 to your computer and use it in GitHub Desktop.
#include "mbed.h"
Serial pc(USBTX, USBRX); // tx, rx
int main() {
pc.printf("Hello World!");
while(1) {
pc.putc(pc.getc());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment