Closed toyorg closed 8 years ago
Can you help me with get this working? Especially with first line.
if (!lightMeter.begin()) { lcd.print("Light failed!"); while (1) {} }
The begin function returns void. In your code snippet you will always fall into the if body. Perhaps you should put the error condition reporting in the else clause.
begin
void
if
else
Thanks
Can you help me with get this working? Especially with first line.