![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.
itm_output.h@60:2aa16fd02dfd, 2016-07-30 (annotated)
- Committer:
- JMF
- Date:
- Sat Jul 30 16:26:22 2016 +0000
- Revision:
- 60:2aa16fd02dfd
added two files that are only used if you are building for ULINK output. Not yet included in the project build/link.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 60:2aa16fd02dfd | 1 | #ifndef __ITM_OUTPUT__ |
JMF | 60:2aa16fd02dfd | 2 | #define __ITM_OUTPUT__ |
JMF | 60:2aa16fd02dfd | 3 | |
JMF | 60:2aa16fd02dfd | 4 | //This file is only used when building for ULINK output |
JMF | 60:2aa16fd02dfd | 5 | |
JMF | 60:2aa16fd02dfd | 6 | #define PRINTF(format, ...) { char xyz[80]; sprintf (xyz, format, ## __VA_ARGS__); ITM_puts(xyz);} |
JMF | 60:2aa16fd02dfd | 7 | #define PUTS(st) ITM_puts((char*)st); |
JMF | 60:2aa16fd02dfd | 8 | |
JMF | 60:2aa16fd02dfd | 9 | |
JMF | 60:2aa16fd02dfd | 10 | int ITM_putc (int ch); |
JMF | 60:2aa16fd02dfd | 11 | int ITM_getc (void); |
JMF | 60:2aa16fd02dfd | 12 | int ITM_puts ((char *) str); |
JMF | 60:2aa16fd02dfd | 13 | |
JMF | 60:2aa16fd02dfd | 14 | #endif |