Only the open key works.

I canceled my project for special reasons. Thank you very much to the friends who try to help :slightly_frowning_face:

Can you give a bit more info? It is a bit difficult to locate the problem...
Since you used that code i would first check your wiring!

Isaak

Where am I making a mistake?

You are not reading How to get the best out of this forum
Because your post is breaking the rules about posting code. The link will also tell you about posting schematics and giving details of what hardware you have.

Grumpy_Mike:
You are not reading How to get the best out of this forum
Because your post is breaking the rules about posting code. The link will also tell you about posting schematics and giving details of what hardware you have.

idv7:
Can you give a bit more info? It is a bit difficult to locate the problem...
Since you used that code i would first check your wiring!

Isaak

Sorry, you are right.
I canceled my project for special reasons. Thank you very much to the friends who try to help