I just made a home automation project, but now i want to add a lcd and display the circuit that are on.
eg- If I pressed the fan button, then the display will come as (FAN SWITCH ON).
I made it via if-else if atatement, but i kept all that in void loop(), after which I face the problem. Can anyone help me