This is the piece of code that i’m having trouble with:
The problem is when the statement is true, only the top if statement would work. even if “35” and"36" is the contents of the serial port (arduino), nothing would print. only “Target on right” if that statement is true.
Here is the arduino code:
For more info please feel free to ask. I will respond pretty quick.