Gas Pressure Display Updated Power control for Pressure sensor added

Dependencies:   UniGraphic mbed vt100

Committer:
Rhyme
Date:
Fri Feb 16 08:27:50 2018 +0000
Revision:
0:37c8ecde13c2
control PSE530 power via PTC5 (pse530_en)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rhyme 0:37c8ecde13c2 1 #ifndef _MARUSOL_DEBUG_IO_HPP_
Rhyme 0:37c8ecde13c2 2 #define _MARUSOL_DEBUG_IO_HPP_
Rhyme 0:37c8ecde13c2 3
Rhyme 0:37c8ecde13c2 4 #if defined (TARGET_TEENSY3_1)
Rhyme 0:37c8ecde13c2 5 #include "USBSerial.h"
Rhyme 0:37c8ecde13c2 6 #else
Rhyme 0:37c8ecde13c2 7 #include "mbed.h"
Rhyme 0:37c8ecde13c2 8 #endif
Rhyme 0:37c8ecde13c2 9
Rhyme 0:37c8ecde13c2 10 // #define SERIAL_PRINT_DBG_ON
Rhyme 0:37c8ecde13c2 11 #ifdef SERIAL_PRINT_DBG_ON
Rhyme 0:37c8ecde13c2 12 #define SERIAL_PRINT_DBG(...) (printf(__VA_ARGS__))
Rhyme 0:37c8ecde13c2 13 #define SERIAL_PRINT_DBG_FUNCNAME() (printf("%s,%d,%s\n",__FILE__,__LINE__,__PRETTY_FUNCTION__))
Rhyme 0:37c8ecde13c2 14 #else
Rhyme 0:37c8ecde13c2 15 #define SERIAL_PRINT_DBG(...)
Rhyme 0:37c8ecde13c2 16 #define SERIAL_PRINT_DBG_FUNCNAME()
Rhyme 0:37c8ecde13c2 17 #endif //SERIAL_PRINT_DBG_ON
Rhyme 0:37c8ecde13c2 18
Rhyme 0:37c8ecde13c2 19 // #define SERIAL_PRINT_DBG_ASR_ON
Rhyme 0:37c8ecde13c2 20 #ifdef SERIAL_PRINT_DBG_ASR_ON
Rhyme 0:37c8ecde13c2 21 #define SERIAL_PRINT_DBG_ASR(...) (printf(__VA_ARGS__))
Rhyme 0:37c8ecde13c2 22 #else
Rhyme 0:37c8ecde13c2 23 #define SERIAL_PRINT_DBG_ASR(...)
Rhyme 0:37c8ecde13c2 24 #endif //SERIAL_PRINT_DBG_ASR_ON
Rhyme 0:37c8ecde13c2 25
Rhyme 0:37c8ecde13c2 26 #endif //_MARUSOL_DEBUG_IO_HPP_