I'm reading from a HC 08 hooked up to the serial monitor and trying to prove I can use the bluetooth to receive a message and trigger an action using the android app "Bluetooth Serial Monitor" and the code below:
If I send "Go", it prints properly in the serial monitor, but the if condition doesn't kick off. If I change the condition to str.equals(str), the condition works. Am I missing something with my compare? A hidden newline or something similar?
It is not a good idea to use the String (capital S) class on an Arduino as it can cause memory corruption in the small memory on an Arduino. This can happen after the program has been running perfectly for some time. Just use cstrings - char arrays terminated with '\0' (NULL).
Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.