Change everything that looks like this
Serial.print(0x7C, BYTE);
to Serial.write(0x7C);
(though not 0x7c in every case, obviously)
If this is a school project, why aren't you asking your teachers?
Change everything that looks like this
Serial.print(0x7C, BYTE);
to Serial.write(0x7C);
(though not 0x7c in every case, obviously)
If this is a school project, why aren't you asking your teachers?