SurferTim:
How about this?char ch = Serial.read();
ch = ch >> 1;
Serial data usually is transfered LSB first, so the parity bit will end in the 8th bit:
char c = Serial.read();
ch &= 0x7F;
SurferTim:
How about this?char ch = Serial.read();
ch = ch >> 1;
Serial data usually is transfered LSB first, so the parity bit will end in the 8th bit:
char c = Serial.read();
ch &= 0x7F;