I am currently working on a project using a potentiometer that determines the size of a connected video camera's Pixels.
There are two problems, (1) the range of the pot (val) is 0-255, however I can only go down to about 50 before the program freezes/gives me an ArrayOutOfBoundsException error.
(2) I was wondering if it is at all possible to stop loadPixels at some point?