
Above image is the result of the following code:
So it sort of runs, but displays this error in the console:
java.lang.NullPointerException
at processing.mode.java.runner.Runner.findException(Runner.java:613)
at processing.mode.java.runner.Runner.reportException(Runner.java:561)
at processing.mode.java.runner.Runner.exception(Runner.java:501)
at processing.mode.java.runner.EventThread.exceptionEvent(EventThread.java:367)
at processing.mode.java.runner.EventThread.handleEvent(EventThread.java:255)
at processing.mode.java.runner.EventThread.run(EventThread.java:89)
Exception in thread “Animation Thread” java.lang.NullPointerException
at processing.core.PApplet.loadImage(Unknown Source)
at processing.core.PApplet.loadImage(Unknown Source)
at wunderground_twitter.responseReceived(wunderground_twitter.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.francisli.processing.http.HttpClient.pre(HttpClient.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.core.PApplet$RegisteredMethods.handle(Unknown Source)
at processing.core.PApplet$RegisteredMethods.handle(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:680)
Oddly enough, when I don’t have the color commented out in Glyph.pde, I get this:

Going to switch gears and work on the Arduino stuff. I did spend the morning looking at the Sparkfun 2x2 button pad, and I think I’m going to go with a rotary encoder for the following reasons:
- I need diodes for it and didn’t realize this until today.
- The tutorial I found is just for hooking up four RGB LEDs and getting them to flash. I only have two RGB LEDs and don’t think I have time to figure out how to get single-color LEDs to work with this thing, or even if it’s possible.
- I am already losing my mind as it is.
Permalink: http://tmblr.co/ZtI-YwDB4Twc





