Can't have a white space in the constant name.
Multiple syntax issues. Please review basic C/C++ syntax and the documentation for digitalWrite.
lightLevel is the actual light level analog reading. Why are you treating it as a digital output?
Can't have a white space in the constant name.
Multiple syntax issues. Please review basic C/C++ syntax and the documentation for digitalWrite.
lightLevel is the actual light level analog reading. Why are you treating it as a digital output?