I'm trying the get the LED in digital pin 13 to turn on when the light is below 1000 lux. I've included a LCD screen that displays it clearly but can't get the code to work.
So when you posted that you were given a warning that it was not posted correctly, but you ignored that and clicked on "Post anyway". Is this correct?
Please post it correctly so I can try to compile it myself and see what mistakes you have made.
Learn how to post code here and in general how to ask and respond to questions here how to get the best out of this forum
Thanks for posting that.
However that compiles for the Uno when I try it. When I have removed that spurious < at the beginning.
What error messages are you getting when you try and compile it. Please click on the copy tab of the error message and post it as if it were code.
'void loop()':
sketch_apr04a:41:5: error: expected ';' before 'digitalWrite'
digitalWrite(LED_PIN, HIGH)
^~~~~~~~~~~~
exit status 1
expected ';' before 'digitalWrite'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.