Mobile Life IoT project using the AT&T IoT Starter Kit Software and files for my device to monitor the status or our Airstream travel trailer RV. A full description of the project is at Hackster.IO here as part of the Realtime AT&T IoT Starter Kit Challenge: https://www.hackster.io/Anubus/mobile-life-iot-9c10be
Dependencies: FXOS8700CQ MODSERIAL mbed
itm_output.h
- Committer:
- Anubus
- Date:
- 2017-04-02
- Revision:
- 0:bd276b1f1249
File content as of revision 0:bd276b1f1249:
/* =================================================================== Copyright © 2016, AVNET Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ======================================================================== */ #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