but I want to change this code to be able to read more than a character on the terminal, for example, when I type in "ONE" or "TWO" in the XCTU terminal, the Arduino will activate the output. Can someone please help me on the coding???
It's relatively easy. But, how do you know when to quit reading? ONE and TWO are both the same length, but THREE is longer. FOUR is longer than ONE but shorter than THREE.