Commit 7df05915 authored by Ondřej Kučera's avatar Ondřej Kučera
Browse files

add LED test & organize FW

parent 6d98a963
#define R 9
#define G 10
#define B 11
int l[10] = {8, 7, 6, 5, 4, 15, 14, 13, 12, 16};
void setup() {
Serial.begin(9600);
pinMode(R, OUTPUT);
pinMode(G, OUTPUT);
pinMode(B, OUTPUT);
digitalWrite(R, HIGH);
digitalWrite(G, HIGH);
digitalWrite(B, HIGH);
int len = sizeof(l)/sizeof(l[0]);
for (int i=0; i < len; i++) {
pinMode(l[i], OUTPUT);
digitalWrite(l[i], LOW);
Serial.println(l[i]);
}
}
void loop() {
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment