Hello, im trying to make a Processing+Arduino program using the Time.h library in which processing reads the hour it is now (from the PC or wherever) and it sends the value to Arduino via Serial port, so, for example i can create a code in which "if it is 10 o clock, this led lightens up", so i need to do something like.
if (Serial.read == 10:00) {
digitalWrite (8,HIGH);
}
for example. Also, could you help me with how to write the "if" part? i dont really think that (Serial.read == 10:00) is gonna work
Thanks for your attention