Is there any way i can make a port.write to make the processing upload information to arduino like how you click upload or pressing ctrl + u from the arduino.
I'm having some problems with my serial communication between my Processing and my Arduino. I believe my main problem is within my Processing. I feel like I put everything accordingly but it gives a such problem.
This is my code
//println (get(mouseX, mouseY) ); // Print line the location of the mouse on-screen.
if (get(mouseX, mouseY) == color (255, 0, 0) ) { // If it is within a color range of red.
//println("red"); // Print line red.
key = 'a';
cntrPair1.value++; // Then decrement number on-screen by one.
delay(150);
// Delay of 200 milliseconds between allowable clicks.
Serial.print('a');
}
I seem to have put in everything which was needed to start the communication but the problem is from the serial.print. That would be grateful if you can help.
Hello I'm having some trouble with communicating between processing to arduino. I know it is possible to do it viseversa but out of curiosity i was wondering if it can be done