All right so I am fairly sure this question belongs in this sub forum, but mods feel free to move me if this is not the right place.
So as the title states, my question is in related to that error.
It would appear that it is occurring at the end of my draw() function.
import cc.arduino.*;
import processing.serial.*;
import processing.net.*;
import googlemapper.*;
//Arduino
Arduino arduino;
//Google Maper Constants
PImage map;
GoogleMapper gMapper;
int zoomLevel =15;
String mapType = GoogleMapper.MAPTYPE_HYBRID;
int mapWidth=1280;
int mapHeight=480;
Serial port; // Create object from Serial class
int val; // Data received from the serial port
public void setup()
{
arduinoSetup();
port = new Serial(this, Serial.list()[7], 9600);
size(1280, 480);
}
public void draw()
{
image(map, 0, 0);
saveFrame("map.jpg");
}
I don't think it has to do with the other libraries i am using. Although I am quite confused as to what would cause this. Any help would be greatly appreciated.