So something was quickly conjured up.
My colleagues, Laura and William, fashioned a cardboard christmas tree. Ryan wired up 6 LED's and some current limiting resistors up to the 6 "Analog in" ports on an Arduino board, and I wrote the world's shortest sketch...
void setup() {
DDRC = 0B00111111;
}
void loop() {
PORTC = int(random(63));
delay (10);
}
How's that?
Minimalist!
No comments:
Post a Comment