From 84a1c5260b8158fe6f164a7c292fe3d60ad2b959 Mon Sep 17 00:00:00 2001 From: aster94 Date: Mon, 28 Nov 2016 12:46:39 +0100 Subject: [PATCH] Create arduino_testLA if you wish to test this LA with another arduino board --- arduino_testLA | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 arduino_testLA diff --git a/arduino_testLA b/arduino_testLA new file mode 100644 index 0000000..cf280b9 --- /dev/null +++ b/arduino_testLA @@ -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)); +}