from machine import ADC ldr = ADC(0) print(ldr.read())