mirror of
https://github.com/aster94/logic-analyzer.git
synced 2026-06-16 07:48:37 +03:00
84a1c5260b
if you wish to test this LA with another arduino board
21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
#define led A5
|
|
#define led2 13
|
|
|
|
void setup() {
|
|
pinMode(led, OUTPUT);
|
|
pinMode(led2, OUTPUT);
|
|
}
|
|
|
|
|
|
void loop() {
|
|
|
|
digitalWrite(led, HIGH);
|
|
delayMicroseconds(random(200));
|
|
digitalWrite(led2, HIGH);
|
|
delayMicroseconds(random(200));
|
|
digitalWrite(led2, LOW);
|
|
delayMicroseconds(random(200));
|
|
digitalWrite(led, LOW);
|
|
delayMicroseconds(random(200));
|
|
}
|