I am connecting a sensor to PICAXE08M2 MCU. The sensor is read in pin C.4 and when it is off is 1.8V and 5V when it is fully ON. I need to offset the 1.8V. I need to write the codes in Basic. The ADC is 8 bit and the maximum value would be 255. My codes are below.
Hello good afternoon, I'm finishing a microcontroller module in which I have to make a program in picaxe with lcd, I'm still not sure what to do nor do I understand much, I would like to know if someone can give me ideas, or even give me the your program, thank you