Whats is wrong here? I am trying to make a code that combines LDR and RGB LED

@gigihespanha, your topic has been moved to a more suitable location on the forum. Introductory Tutorials is for tutorials that e.g. you write, not for questions. Feel free to write a tutorial once you have solved your problem :wink: