Yes, I am starting to see the appeal in the analog sensor. I was trying to keep it digital because the Raspberry Pi has no analog pins, so I would need to add an ADC and then use SPI to read the value, making the interface dirtier and adding complexity. I just realised I could use an Arduino...