October 10 2009

Illuminato Hidden Feature :)

After looking at the schematic a bit I realized that the bling can be controlled directly with Port 42!
On top of that it has PWM capabilities :)

Code running in this video
void setup()
{
for (int x=0; x< 43; x++)
{
pinMode(x, OUTPUT);
digitalWrite(x, LOW);
}
}
void loop()
{
for (int x=0; x< 255; x+=1)
{
analogWrite(42, x);
delay(2);
}
delay(100);
for (int x=255; x> 0; x-=1)
{
analogWrite(42, x);
delay(2);
}
delay(100);
}




Copyright © 2024. All rights reserved.

Posted October 10, 2009 by Moogle in category "Arduino / AVR

Leave a Reply