LIGHT SENSOR PROGRAM -NEWBIE HERE PLS HELP ME FIX THIS CODE THANKS IN ADVANCE

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?