📜 ⬆️ ⬇️

Arduino and Prodigy

There is a funny effect when loading the following sketch into the Arduino:
int ledPin = 13;
void setup()
{pinMode(ledPin, OUTPUT);}
void loop()
{
randomSeed(millis());
digitalWrite(ledPin, HIGH);
delay(random(255));
digitalWrite(ledPin, LOW);
delay(random(255));
}


and the inclusion of any song Prodigy, for example in the audio search Vkontakte.
There is a previously unforeseen synchronization of the audio composition with the pseudo-flashing of the LED.
As my colleague wrote, “the secret of the prodigy is revealed” :)
Check for yourself!

')

Source: https://habr.com/ru/post/92487/


All Articles