https://www.idsemergencymanagement.com/2020/01/20/what-is-pull-up-resistor-in-microcontroller/