valentine read and write pin 2