|
@@ -152,7 +152,7 @@ inline void report_pin_state_extended(pin_t pin, bool ignore, bool extended = fa
|
152
|
152
|
#endif
|
153
|
153
|
{
|
154
|
154
|
if (!GET_ARRAY_IS_DIGITAL(x)) {
|
155
|
|
- sprintf_P(buffer, PSTR("Analog in = %5d"), analogRead(DIGITAL_PIN_TO_ANALOG_PIN(pin)));
|
|
155
|
+ sprintf_P(buffer, PSTR("Analog in = %5ld"), analogRead(DIGITAL_PIN_TO_ANALOG_PIN(pin)));
|
156
|
156
|
SERIAL_ECHO(buffer);
|
157
|
157
|
}
|
158
|
158
|
else {
|
|
@@ -214,7 +214,7 @@ inline void report_pin_state_extended(pin_t pin, bool ignore, bool extended = fa
|
214
|
214
|
}
|
215
|
215
|
else {
|
216
|
216
|
if (IS_ANALOG(pin)) {
|
217
|
|
- sprintf_P(buffer, PSTR(" Analog in = %5d"), analogRead(DIGITAL_PIN_TO_ANALOG_PIN(pin)));
|
|
217
|
+ sprintf_P(buffer, PSTR(" Analog in = %5ld"), analogRead(DIGITAL_PIN_TO_ANALOG_PIN(pin)));
|
218
|
218
|
SERIAL_ECHO(buffer);
|
219
|
219
|
SERIAL_ECHOPGM(" ");
|
220
|
220
|
}
|