Commit d240957c authored by Jason Williams's avatar Jason Williams

Added pin mode settings to distance sensor trigger and echo pins.

parent c056e57d
......@@ -62,6 +62,10 @@ void setup() {
pinMode(pin_doorclosed, INPUT);
pinMode(pin_doortoggle, OUTPUT);
pinMode(pin_sidedoor, INPUT);
pinMode(pin_trigger1, OUTPUT);
pinMode(pin_trigger2, OUTPUT);
pinMode(pin_echo1, INPUT);
pinMode(pin_echo2, INPUT);
digitalWrite(pin_doortoggle, HIGH);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment