How can I print out positional values (not sensor values) for a Pololu QTR-8RC sensor module using Arduino?
Hi @tmatatu
I have recently ported some bits of the Pololu Arduino Library to run the QTRX-MD-01RC on a Raspberry Pi Pico. You can find the Library here https://github.com/pololu/qtr-sensors-arduino
How do you want to use the reflectance sensor? If it's for line following then there are routines in the Library for that. If not then you can use it to read all eight sensors in one call. This will load up an array with sensor values that you can use any way you want to. High values have low reflectance low values better reflectance...
Tom
To err is human.
To really foul up, use a computer.
@thrandell Thank you for your help. I am using the sensor in a line follower.