HELP! Exception in Event Handler

Hello @charlielamus ,

I do not use Processing 2.2.1 but did get this to run on Processing 3.5.4 and Processing 4.0b8.

Changes:

// Add this:
void settings()
{
size(GUIwidth, GUIheigth);
}

void setup() {
 // size(GUIwidth, GUIheigth); // Comment this
import drop.*;  // Added this library
import test.*;

// Don't forget to place the libraries under sketchbook/libraries/G4P and sketchbook/libraries/sDrop
import g4p_controls.*;    // http://sourceforge.net/projects/g4p/
//import sojamo.drop.*;    //  http://www.sojamo.de/libraries/drop/  // Commented this!

There is firmware that comes with Knitty:

Steps:

  • Uploaded one of the Knitting Machine (Arduino firmware) selections to Arduino.
  • Run the Knitty Processing sketch.
  • Select the Arduino COM Port that is being used.
  • Select the Knitting Machine that is being used.

I selected “Knit One Row” from GUI:

:)