Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
YahboomTechnology authored May 31, 2021
1 parent b9a5229 commit ea706d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ namespace ModuleWorld_Digatal {
else if(value_DNum == 9) { pin = DigitalPin.P14; }
else if(value_DNum == 10) { pin = DigitalPin.P1; }

pins.setPull(pin, PinPullMode.PullUp);
pins.setPull(pin, PinPullMode.PullDown);
return pins.digitalReadPin(pin) == value;
}

Expand Down

0 comments on commit ea706d0

Please sign in to comment.