Skip to content

Commit 1a9ab15

Browse files
committed
enabled ADCs and tar function
1 parent 64d0794 commit 1a9ab15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pio_workspace/src/power_ros1_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ SETUP FOR ROS COMMUNICATION WITH THE POWER BOARD
3636

3737
#define LED_PIN 13
3838

39-
#define ENABLE_VOLTAGE_SENSE false
40-
#define ENABLE_CURRENT_SENSE false
39+
#define ENABLE_VOLTAGE_SENSE true
40+
#define ENABLE_CURRENT_SENSE true
4141

4242
// creates ADCSensors and TMP36 sensor objects
4343
ADCSensors adcSensors;

pio_workspace/src/thruster_tests_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void sensor_setup() {
3535
boolean _tare = true;
3636
LoadCell.start(stabilizingtime, _tare);
3737
if (LoadCell.getTareTimeoutFlag()) {
38-
//while (1);
38+
while (1);
3939
} else {
4040
LoadCell.setCalFactor(calibrationValue);
4141
}

0 commit comments

Comments
 (0)