So the v3.ino worked, except I had to change :
if(Serial.available() > 0)
{ //Checks for App data (serial port)
state = Serial.parseInt(); //Reads data
Serial.println(state);
}
Back to:
if(Serial.available() > 0)
{ //Checks for App data (serial port)
state = Serial.read(); //Reads data
Serial.println(state);
}
Because the "println" code wouldn't turn on any relays for the pumps. So with the ver 3, and the Send1ByteNumber as per Evans Post...every thing seems to be working correctly.
I'll be honest....I'm lost on what command it is actually sending to the arduino now....so I'm kinda confused how it is working. I'm assuming if I want to add more drinks or create setup buttons for each alcohol I just keep the correct order on the arduino code, and the app?