set pin to 4 to match hardware and other diagrams