So how will I run processing to arduino? I will just compile my sketches for my processing and arduino and then upload my arduino sketch to the board?
The valuation of myPort (the myPort = statement) belongs in the setup() function.
Is there a possible way in the arduino coding that when I release the W ( forward button) then the motor will also cease going forward?
The only odd thing is that the stop button Q wont respond, I don't get it?
Serial.print("Engine speed value: ");Serial.println(cNewMotorSpeed, DEC);