]> AND Private Git Repository - Cipher_code.git/blob - Arduino/libraries/Firmata/utility/firmataDebug.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
first version of one_round_auth
[Cipher_code.git] / Arduino / libraries / Firmata / utility / firmataDebug.h
1 #ifndef FIRMATA_DEBUG_H
2 #define FIRMATA_DEBUG_H
3
4 #ifdef SERIAL_DEBUG
5   #define DEBUG_BEGIN(baud) Serial.begin(baud); while(!Serial) {;}
6   #define DEBUG_PRINTLN(x)  Serial.println (x); Serial.flush()
7   #define DEBUG_PRINT(x)    Serial.print (x)
8 #else
9   #define DEBUG_BEGIN(baud)
10   #define DEBUG_PRINTLN(x)
11   #define DEBUG_PRINT(x)
12 #endif
13
14 #endif /* FIRMATA_DEBUG_H */