23.6k views
16 votes
Trying to make a code so that when i click button A, pin 0 to 1, then i click A again and pin 0 goes to 3.

Here is my code:

Trying to make a code so that when i click button A, pin 0 to 1, then i click A again-example-1
User Xtremist
by
3.9k points

1 Answer

5 votes

Answer:

Remove the on start because that is interupting the on button a pressed then you should be good to go.

Step-by-step explanation:

User Zanini
by
4.3k points