https://embetronicx.com/tutorials/microcontrollers/lpc2148/ldr-sensor-interfacing-with-lpc2148/
LDR Sensor Interfacing with LPC2148