Welcome to the forum
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination
Just a typo. You've declared relaypin and tried to use relayPin (capital P)
edit: also a typo in "relayState" vs "relayssState"?
You have not even described what the issue is
Why are you reading the state of a what appears to be a pin controlling a relay ?
Why give pins meaningful names then use the anonymous pin numbers instead ?
"relaypin" vs "relayPin". correct the 'P'
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.