
final
Dependencies: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
Diff: main.cpp
- Revision:
- 14:c0aa529968a2
- Parent:
- 13:3a1f4e09789b
- Child:
- 15:495333b2ccf1
--- a/main.cpp Wed Aug 26 19:35:05 2020 +0000 +++ b/main.cpp Wed Aug 26 23:42:18 2020 +0000 @@ -60,7 +60,7 @@ output_data[0] = t.read(); output_data[1] = encoderA.getPulses(); output_data[2] = encoderA.getVelocity(); - output_data[3] = readADC1(0); + output_data[3] = motorShield.readCurrentA(); // Send data to MATLAB server.sendData(output_data,NUM_OUTPUTS);