ghost detector not working

hammy:
Please have a look at how to post your code.

To print stuff you need the “Serial.begin(9600);” statement in setup.

No idea where the “serial.pinmode(1600) “ comes from as it doesnt appear in your code listing , but that is an illegal command

BTW Ghosts don’t exist

I looked at the board itself and saw something that said "1600" on it and tried it but it didn't work so i replaced it with the original.