From 300987a9a329e8546cd16b862ae9bbdfd13dc6a9 Mon Sep 17 00:00:00 2001 From: aakashbpgc <49065127+aakashbpgc@users.noreply.github.com> Date: Mon, 1 Apr 2019 21:56:08 +0530 Subject: [PATCH] Update RC_Car_trial.ino --- RC_Car_trial.ino | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/RC_Car_trial.ino b/RC_Car_trial.ino index 4d40eec..d71e4be 100644 --- a/RC_Car_trial.ino +++ b/RC_Car_trial.ino @@ -170,3 +170,25 @@ void loop() { } } + + +/*code for ir array +int s2=2; +int s4=4; + +void setup() { + // put your setup code here, to run once: + Serial.begin(9600); + pinMode (s2,INPUT); + pinMode (s4,INPUT); + + +} + +void loop() { + // put your main code here, to run repeatedly: + Serial.println(digitalRead (s2)); + Serial.println(digitalRead (s4)); + Serial.println(' '); + +}*/