The ellipses change size via map() function when the data in the string increases/decreases. I want to do the same for the LEDS. Hence, more LEDs turn on when more data is parsed through the serial communication and vice versa.
However, whenever I try I am greeted with this error 'java.lang.NullException.Pointer'
LED Set - Up:
5x5 vertical Grid (each row of leds controlled by each ellipse) - picture
I have uploaded an updated version with no more error message, although still no LEDs turning on.
It is connected into Port 3. everything titled string all relates back to one string, which is "http://avail.mdx.ac.uk:8090/avail.js?"
. (url) is a variable which relates back to that string, noticed on line 23. Everything else is just 'splitting' and 'listing' the same string.
I have attached a .fzz schematic for a greater understanding of the physical form and a new .pde, which should also help understanding of my problem.