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

Committer:
rfinn
Date:
2016-08-12
Revision:
72:0afdd141157c
Parent:
60:2aa16fd02dfd

File content as of revision 72:0afdd141157c:

#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