02-23-2021, 12:42 AM
Hi Matt, yeah you can. You need to connect float to +5v pin and data pin.
To find those pins look at the optical sensor you have plugged in, the white wire is +5v and yellow is data. Use those pins on the respected port you choose.
To find those pins look at the optical sensor you have plugged in, the white wire is +5v and yellow is data. Use those pins on the respected port you choose.