I'm trying to take a website with a slide show that randomly reorders .jpegs that then triggers a pattern of LED's that correspond to each .jpeg, so
the images will have a corresponding series of patterns. So for example
'example.jpeg' appears processing retrieves this info and sends it to arduino, and a pattern such as
void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
digitalWrite(12, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(12, LOW); // set the LED off
delay(1000); // wait for a second
}
etc.. and so on for many different patterns and images.
I'm unclear as to where or how I would assign a .jpeg to a set of patterns.
And then where I would put the patterns in the sketch. Forgive my ignorance, I'm new to this!
Does anyone have any suggestions for tutorials to look at or advice for this type of project? Thanks for your help!