mirror of
https://github.com/aster94/logic-analyzer.git
synced 2026-05-01 23:53:02 +03:00
Rename arduino_testLA to arduino_testLA.ino
This commit is contained in:
20
arduino_testLA.ino
Normal file
20
arduino_testLA.ino
Normal file
@@ -0,0 +1,20 @@
|
||||
#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));
|
||||
}
|
||||
Reference in New Issue
Block a user