How to read the value of a photoresistor and print it out in serial monitor

is it any way that if the photoresist is max a led flashes?