https://www.raspberrylovers.com/2019/08/raspberry-pi-analog-input-gpio.html