![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/tinker.png)
First Step
Open TinkerCode app in your browser
Click here to go to TinkerCode app!
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/2nd.png)
Second Step
Drop setup block and adruino loop from Base Controller menu
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/l3rd.png)
Third Step
Create new variable with any names suitable from Variables menu. Create 3 different variable for different switch button
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s4th.png)
Fourth Step
Drop the variable name’s block that you created
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s5th.png)
Fifth Step
Go to Adruino menu and drop DigitalRead block
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s6th.png)
Sixth Step
Duplicate the block to three by clicking right click > Duplicate. Set the different variable that you created and set the pin number follow the button at Maker Kit
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s7th.png)
Seventh Step
Drop the condition block from Logic menu
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/l6th.png)
Eighth Step
Click the ‘setting’ icon and drag else under if
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s9th.png)
Ninth Step
Drop the mathematical symbol block from Logic menu
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s10th.png)
Tenth Step
Drop DigitalWrite block from Adruino menu
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s11th.png)
Eleventh Step
Duplicate the DigitalWrite block and set Stat one as HIGH = ON and the other one is LOW = OFF
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s12th.png)
Twelfth Step
From Variable menu, drop the variable block that you have created inside the mathematical symbol block
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s13th.png)
Thirteenth Step
For the other side of mathematical symbol block, drop the number block from Math menu
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/s14th.png)
Fourteenth Step
Duplicate all of the block. Then, change the variable to different variable that you created. Next, change pin number follow the LED pin number at Maker Kit device
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/7th.png)
Fifteenth Step
Plug in Maker Kit USB to your laptop or computer
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/8th-1.png)
Sixteenth Step
Set Board Type and Port in setting according your Maker Kit port. Next, click Update button
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/6thh-1.png)
Seventeenth Step
Lastly, click upload button to upload your program to Maker Kit device
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/9th-2.png)
Awesome pop up says your program is all set. See the result!
![](https://thinkerspace.my/makerkit/wp-content/uploads/2021/03/sresult.png)
Result
The LED will light up when you press the button. Enjoy!