Converting byte to nibbles

   mappedByte = map(readByte, 0, 1023, 0, 255);

That's an expensive way to divide by 4.