/**
  ******************************************************************************
  * @file    TADebug.h
  * @author  C. Otten
  * @version V0.0.0
  * @date    03/10/2011
  * @brief   Thermistor Array debug
  ******************************************************************************
  *
  * COPYRIGHT 2011 Liquid Robotics, Inc.
  **/

#define _DEBUG_PORT
#ifdef  _DEBUG_PORT

// Debug port. Use a PCOM to send data to computer.
//  If there's no PCOM, no harm done. If there is one, make sure it is not attached to any instrument.
#define TADEBUG_PORTNUM     1

#define TADEBUG_STR(str, timeout, err)  OSuartPutStrWait(TADEBUG_PORTNUM, str, timeout, err)
#define TADEBUG_CHR(ch, timeout)        OSuartPutCharWait(TADEBUG_PORTNUM, ch, timeout)

void TADebug(void* pParam);

#else
  #define TADEBUG_STR(str, timeout, err)  {}
  #define TADEBUG_CHR(ch, timeout)        {}
#endif //  _DEBUG_PORT
