|
@@ -1296,21 +1296,21 @@ void microstep_readings()
|
1296
|
1296
|
{
|
1297
|
1297
|
SERIAL_PROTOCOLPGM("MS1,MS2 Pins\n");
|
1298
|
1298
|
SERIAL_PROTOCOLPGM("X: ");
|
1299
|
|
- SERIAL_PROTOCOL( digitalRead(X_MS1_PIN));
|
1300
|
|
- SERIAL_PROTOCOLLN( digitalRead(X_MS2_PIN));
|
|
1299
|
+ SERIAL_PROTOCOL( READ(X_MS1_PIN));
|
|
1300
|
+ SERIAL_PROTOCOLLN( READ(X_MS2_PIN));
|
1301
|
1301
|
SERIAL_PROTOCOLPGM("Y: ");
|
1302
|
|
- SERIAL_PROTOCOL( digitalRead(Y_MS1_PIN));
|
1303
|
|
- SERIAL_PROTOCOLLN( digitalRead(Y_MS2_PIN));
|
|
1302
|
+ SERIAL_PROTOCOL( READ(Y_MS1_PIN));
|
|
1303
|
+ SERIAL_PROTOCOLLN( READ(Y_MS2_PIN));
|
1304
|
1304
|
SERIAL_PROTOCOLPGM("Z: ");
|
1305
|
|
- SERIAL_PROTOCOL( digitalRead(Z_MS1_PIN));
|
1306
|
|
- SERIAL_PROTOCOLLN( digitalRead(Z_MS2_PIN));
|
|
1305
|
+ SERIAL_PROTOCOL( READ(Z_MS1_PIN));
|
|
1306
|
+ SERIAL_PROTOCOLLN( READ(Z_MS2_PIN));
|
1307
|
1307
|
SERIAL_PROTOCOLPGM("E0: ");
|
1308
|
|
- SERIAL_PROTOCOL( digitalRead(E0_MS1_PIN));
|
1309
|
|
- SERIAL_PROTOCOLLN( digitalRead(E0_MS2_PIN));
|
|
1308
|
+ SERIAL_PROTOCOL( READ(E0_MS1_PIN));
|
|
1309
|
+ SERIAL_PROTOCOLLN( READ(E0_MS2_PIN));
|
1310
|
1310
|
#if defined(E1_MS1_PIN) && E1_MS1_PIN > -1
|
1311
|
1311
|
SERIAL_PROTOCOLPGM("E1: ");
|
1312
|
|
- SERIAL_PROTOCOL( digitalRead(E1_MS1_PIN));
|
1313
|
|
- SERIAL_PROTOCOLLN( digitalRead(E1_MS2_PIN));
|
|
1312
|
+ SERIAL_PROTOCOL( READ(E1_MS1_PIN));
|
|
1313
|
+ SERIAL_PROTOCOLLN( READ(E1_MS2_PIN));
|
1314
|
1314
|
#endif
|
1315
|
1315
|
}
|
1316
|
1316
|
|