Skip to content

Commit 2699140

Browse files
committed
added pin definitions
1 parent 3b5d1e9 commit 2699140

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Power Board/thrusters.ino

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@ void senseCurrent(float currents[]) {
112112
void setup() {
113113
//pinMode(WATER_DETECTED, INPUT_PULLUP);
114114
//pinMode(MCU_KS, OUTPUT);
115+
pinMode(TC_1, INPUT);
116+
pinMode(TC_2, INPUT);
117+
pinMode(TC_3, INPUT);
118+
pinMode(TC_4, INPUT);
119+
pinMode(TC_5, INPUT);
120+
pinMode(TC_6, INPUT);
121+
pinMode(TC_7, INPUT);
122+
pinMode(TC_8, INPUT);
123+
pinMode(VBAT1_SENSE, INPUT);
124+
pinMode(VBAT2_SENSE, INPUT);
125+
115126
//attachInterrupt(digitalPinToInterrupt(WATER_DETECTED), waterInterrupt, RISING);
116127

117128
initThrusters();

0 commit comments

Comments
 (0)