Problem Plotting Using Grafica & serialEvent()

glv,

Thanks for responding. Yes, I’m using two serial ports and yes I’ve loaded standardFirmata onto my Arduino mega and processing serial is communicating with the Mark10. I’m using a USB splitter to communicate with both.

My laptop > USB splitter > Arduino Mega > Stepper motor driver > stepper motor
My laptop > USB splitter > Mark10

The Mark10 sends data whenever I request (mark10.write("?C\r");

quark,

I don’t get an error message I just a grey rectangle screen (whatever the window is called when you run any processing sketch except mine is the color called in “background”.

Update: instead of stopping the code prematurely, I let the code run through the whole cycle and at the very end the correct plot shows up. It seems to be working its just not updating in real-time on the screen.

1 Like