Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : error, disabling serialEvent() for //./COM3

$
0
0
Hi 
Thank you for your reply...
You were right,  code crashed before reaching this line
  1. println(inByte);

I am sending data from arduino by this method
  1.  Serial.println(average*10/1023);
and getting in processing by 
  1.  void serialEvent (Serial myPort) {
  2.  String inString = myPort.readStringUntil('\n');
  3.  float inByte = float(inString);
problem in this section.
I don't know how to send data from arduino to get as a string in processing.
Need your valuable suggestion.
thanking you in anticipation

Viewing all articles
Browse latest Browse all 1768

Trending Articles