Can you explain the purpose of the 4.7K resistor between the SPort pin and the Arduino, and why 4.7K is an appropriate value?