Convert serial.read() to usable int

tuxduino:
Did you try my code ? What value(s) did you send ? What did you see on the receiving arduino serial monitor ?

Just tried.

What I am sending is actually the roll of my IMU (positive/negative values) by using serial.print(roll);

What I am sending using serial.print(roll):

-9
-7
-5
-3
-3
-4
-7
-10
-2
-4
-10
-2
-3
2
0
-7
-7
-4
-6
-5

When I use your program, the receiving arduino is receiving values like:

D
A
2D
32
D
A
2D
37
D
A
2D
35
D
A
2D
34
D
A
2D
33
D
A

If I use my original code, I can receive the same values as what I am sending...