arduino nano which pullup resistors code example
Example 1: arduino internal pull up resistor
Serial.println(sensorValue, DEC);
Example 2: arduino internal pull up resistor
Serial.begin(9600);
Serial.println(sensorValue, DEC);
Serial.begin(9600);