change recvPin to 2