Coding for controlling the LED using IR Led and remote.

CODE


 


Steps to do coding in Tinkercad

1. Click the code editor button to open the coding panel.










 

Now, we will be using the text editor to code our project. So, in the code editor change the blocks editor to Text editor as shown below:

Now, Code your project as shown below: