From 45e45a3c6c938d565b38ac4254c666deebb7c694 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sat, 10 Aug 2019 18:53:01 +0700 Subject: [PATCH] Update WaterishOS-core2.0.ino --- WaterishOS-core2.0/WaterishOS-core2.0.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WaterishOS-core2.0/WaterishOS-core2.0.ino b/WaterishOS-core2.0/WaterishOS-core2.0.ino index 4b46de7..8b5eeb2 100644 --- a/WaterishOS-core2.0/WaterishOS-core2.0.ino +++ b/WaterishOS-core2.0/WaterishOS-core2.0.ino @@ -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();