Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.
Dependencies: UniGraphic mbed vt100
af_utils/DebugIO.hpp
- Committer:
- Rhyme
- Date:
- 2018-02-23
- Revision:
- 0:ce97f6d34336
File content as of revision 0:ce97f6d34336:
#ifndef _MARUSOL_DEBUG_IO_HPP_ #define _MARUSOL_DEBUG_IO_HPP_ #if defined (TARGET_TEENSY3_1) #include "USBSerial.h" #else #include "mbed.h" #endif // #define SERIAL_PRINT_DBG_ON #ifdef SERIAL_PRINT_DBG_ON #define SERIAL_PRINT_DBG(...) (printf(__VA_ARGS__)) #define SERIAL_PRINT_DBG_FUNCNAME() (printf("%s,%d,%s\n",__FILE__,__LINE__,__PRETTY_FUNCTION__)) #else #define SERIAL_PRINT_DBG(...) #define SERIAL_PRINT_DBG_FUNCNAME() #endif //SERIAL_PRINT_DBG_ON // #define SERIAL_PRINT_DBG_ASR_ON #ifdef SERIAL_PRINT_DBG_ASR_ON #define SERIAL_PRINT_DBG_ASR(...) (printf(__VA_ARGS__)) #else #define SERIAL_PRINT_DBG_ASR(...) #endif //SERIAL_PRINT_DBG_ASR_ON #endif //_MARUSOL_DEBUG_IO_HPP_