Arduino - 'setLocked' was not declared in this scope

Hi. Nice job using Code Tags in your first post!!!

In the IDE type ctrl-t to have it properly format the indents in your code. Then look at your curly brackets. For every OPEN curly bracket (‘{‘) there needs to be a matching CLOSE curly bracket (‘}’). I have a feeling you have one or more unpaired brackets.

1 Like