Convert serial.read() to usable int

tuxduino:
I suggest you try this on the receiving end:

void loop() {

if (Serial1.available() > 0) {
        char ch = Serial1.read();
        // show the byte on serial monitor
        Serial.print(ch, HEX);
    }
}




Match what you see on the receiving arduino serial monitor with the int value you're sending from the other one...

I am able to receive the same values, but I am not able to use the values on the receiving end...