Skip to content

Instantly share code, notes, and snippets.

@blakewrege
Last active August 29, 2015 14:07
Show Gist options
  • Save blakewrege/c2e61c4aaab2bc9b3c3b to your computer and use it in GitHub Desktop.
Save blakewrege/c2e61c4aaab2bc9b3c3b to your computer and use it in GitHub Desktop.
#include <msp430.h>
#include <libemb/serial/serial.h>
#include <libemb/conio/conio.h>
#include <libemb/shell/shell.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
main(void){
WDTCTL = WDTPW | WDTHOLD;
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ;
serial_init(9600);
cio_printf("Hello World");
return 0;
}
@blakewrege
Copy link
Author

cio_printf((char*)"Hello World");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment