Francesco Pistone
/
Viaro_SpandiConcime_V3_inizio
copia12092018
Diff: io_definitions.h
- Revision:
- 5:72bdc69d610d
- Parent:
- 4:1643fea75703
- Child:
- 6:3263fc9d7423
--- a/io_definitions.h Fri Jun 29 13:07:46 2018 +0000 +++ b/io_definitions.h Fri Jun 29 14:05:20 2018 +0000 @@ -1,5 +1,7 @@ //#Serial pc(SERIAL_TX, SERIAL_RX); -Serial pc(D1, D0, 115200); +#if defined(logActive) + Serial pc(D1, D0, 115200); +#endif InterruptIn WheelSensorPin(D5); //pin at which the wheel sensor is attached InterruptIn MotorSensorPin(D4); //pin connected to motor sensor pin