Update WaterishOS-core2.0.ino

This commit is contained in:
Siwat Sirichai 2019-08-10 18:53:01 +07:00
parent c4de182223
commit 45e45a3c6c
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ void setup(){
}
attachInterrupt(digitalPinToInterrupt(1),readA,FALLING);
attachInterrupt(digitalPinToInterrupt(3),readB,FALLING);
pinMode(1, FUNCTION_3);
pinMode(3, FUNCTION_3);
pinMode(1, FUNCTION_3);
pinMode(3, FUNCTION_3);
pinMode(1,INPUT);
pinMode(3,INPUT);
mcp.begin();