change hand.ino/py to match hardware changes (use pullup resistor, connect to gnd, instead of 5V + pull down resistor)

This commit is contained in:
Erwin Coumans
2017-04-24 09:56:27 -07:00
parent e8c1602232
commit d41a2fdfd4
2 changed files with 12 additions and 7 deletions

View File

@@ -10,6 +10,10 @@ int sensorPin3 = A3;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
digitalWrite(A0, INPUT_PULLUP);
digitalWrite(A1, INPUT_PULLUP);
digitalWrite(A2, INPUT_PULLUP);
digitalWrite(A3, INPUT_PULLUP);
}
void loop() {