Files
logic-analyzer/Extras/tester/tester.ino
sancho11 0d3b249c5a Some things are ready
-Fixed Scroll reducer.
-Some functions were broken down into simpler functions, to facilitate the reading of the code.
-The spanish comments were changed to english
-Some variables like cursera or curseraf now they have names that give meaning to what they are.
2019-01-25 19:33:03 -06:00

28 lines
462 B
C++

/*
* tester.ino
*
* Author : Vincenzo
* Test your logic analyzer with another arduino
*/
#define pin1 A5
#define pin2 13
void setup() {
pinMode(pin1, OUTPUT);
pinMode(pin2, OUTPUT);
}
void loop() {
digitalWrite(pin1, HIGH);
delayMicroseconds(random(200));
digitalWrite(pin2, HIGH);
delayMicroseconds(random(200));
digitalWrite(pin2, LOW);
delayMicroseconds(random(200));
digitalWrite(pin1, LOW);
delayMicroseconds(random(200));
}