Printing to serial fixes digital reading

@JonoClifford
Please read

Especially the bit about posting code. No one can help you with code they cannot see.