Created
August 24, 2019 16:14
-
-
Save giljr/51650f359ec3ca1153a49fedf3dfa4b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Project: Ardu_Serie # 80 | |
* 4-Channel Line Tracker Sensor | |
* Ensures a Successful & Accurately Navigation For Your Robot | |
* | |
* INO file: _80_yl70_01.ino | |
* | |
* date: 8/24/19 | |
* | |
* code by: http://www.energiazero.org | |
* hardware by: Walfront | |
* | |
* Description: There is no easy way to tell your robot where to go! use this module. | |
* | |
* Visit: https://medium.com/jungletronics | |
* | |
* Tutorial: https://medium.com/jungletronics/4-channel-line-tracker-sensor-e6f9a0dad304 | |
* | |
* License: CC-SA 3.0, feel free to use this code however you'd like. | |
* Please improve upon it! Let me know how you've made it better. | |
*/ | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
Serial.print(digitalRead(2)); | |
Serial.print(" "); | |
Serial.print(digitalRead(3)); | |
Serial.print(" "); | |
Serial.print(digitalRead(4)); | |
Serial.print(" "); | |
Serial.println(digitalRead(5)); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment