Hello,
Pardon my English I am French student
I have a problem of communication between an arduino UNO rev3 and processecing
I would like know how to do communicate the two
I managed to retrieve a value, I can display it independent but I cannot use it as a variable for a test
text(Power,10,10); //OK
Power is a String value
void Etat_Arduino(int X,int Y)
{
if (Power == "Y") //Yes or No the test is always wrong even when the test should be true
{
text("OK",X,Y);
}
else
{
text("ERROR",X,Y);
}
}
However, if I declare String Power = "Y";
The program displays "OK"
but I am obliged to declare String Power = "N"; or "";
Could you help me,
where can I find tutorials to explain the communication between Arduino and Processing?
My program must receive the Arduino variables but also be capable of change them
Thank you