The function print(char) does not exist?
in
Programming Questions
•
6 months ago
Hello
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');
- }
Thanks
1