Arduin-O-Scope (a tiny oscilloscope project)

My bad, I missed the second parameter BYTE.
I just assumed he is sending the full precision 10bits of the Analog value.

Looking again into code, as it is written it would result in truncated values being sent out. Check following code from serial.print() library where long is type casted as char, which implies only bottom 8 bits are sent out.

void Print::print(long n, int base)
{
if (base == 0)
print((char) n);
else if (base == 10)
print(n);
else
printNumber(n, base);
}

Right shifting the analog sample by 2 bits and sending as BYTE would solve the problem I guess.