A simple project for sending button input up to AT&T Flow
Dependencies: FXOS8700CQ MODSERIAL mbed
For instructions on using this program, see the AT&T Starter Kit tutorial on it.
Diff: itm_output.h
- Revision:
- 60:2aa16fd02dfd
diff -r 7ebb9436b2bd -r 2aa16fd02dfd itm_output.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/itm_output.h Sat Jul 30 16:26:22 2016 +0000 @@ -0,0 +1,14 @@ +#ifndef __ITM_OUTPUT__ +#define __ITM_OUTPUT__ + +//This file is only used when building for ULINK output + +#define PRINTF(format, ...) { char xyz[80]; sprintf (xyz, format, ## __VA_ARGS__); ITM_puts(xyz);} +#define PUTS(st) ITM_puts((char*)st); + + +int ITM_putc (int ch); +int ITM_getc (void); +int ITM_puts ((char *) str); + +#endif