Hello Arduino Community,
I was trying to copy paste some examples from here (https://docs.arduino.cc/built-in-examples), and concretely in the Section "Communication" - Create a Graph with Processing (https://docs.arduino.cc/built-in-examples/communication/Graph), the code does not seem to work for me. My poor level of knowledge on the topic doesnt allow me to understand the error, so any help and clarification will be awesome.
the consol messages me that the function
void serialEvent (Serial myPort) {
...
}
should not be void (I have not change a single thing in the code, so coming from an offitial tutorial surprises me).
My guess however, if it helps to solve it, is around the serial port used? The code creator notes he used "the first port in the serial list on the mac, so he opens Serial.list()[0]".
I am truly lost to start tweaking code, so again, help to discuss is appreciated.
David