I do not have very much experience with image loading techniques and after doing some more research, I am not sure how to best go about what I want to do. I would like to take the charge value from an arduino analog input (that part is working fine) and display it as a "power level chart". Basically some thing simple like the battery icon on a laptop or an ipod that shows how "full" the battery is. I tried to find a way to load the image according to the voltage value, but I don't know if this is making it too complicated? Any ideas on how to best approach this? Sorry I don't have anything to show, I really didn't get anywhere with stuff I tried so I figured I should ask for a push in the right direction...
I'm a bit new to Processing, but I think I understand the general format. I am trying to use a serial input from arduino to control the frameRate on an animated gif. I tried making a loop that would increment the frameRate each time the sequence loads, but this didn't work and when I print out the frameRate() value it always returns 10.
Am I doing something, or is it not possible to change the frameRate like this? Could I use a delay in the loop instead?
Thanks!
I am working off of the Sequence Animation example: