In this project, we will use IntoRobot online IDE to make NUT User LED flashing. User LED is internally connected to NUT D6 Pin. Turn on when D6=0 , turn off when D6=1.
Parts and Device:
1 x IntoRobot NUT board (or IntoRobot ATOM or NEUTRON board)
1 x Android or iOS smart phone or tablet
- You should have registered an IntoRobot Cloud user account. If not , please read this article to get an free account: http://osoyoo.com/2016/11/13/intorobot_account
- You should have bound your NUT board to your IntoRobot Cloud account. If not, please read following article to bind your NUT:
Step 1) Login to your IntoRobot control panel Programming->My Project 0> +New project (see following picture):
Step 2)Write code in your Web IDE, you can download the code from osoyoo.com/wp-content/uploads/samplecode/intorobot_user_led.txt and copy paste the code into IDE.
If you are using IntoRobot ATOM/NEUTRON board, please change the USER_LED_PIN from D6 to D7 in above code.
Step 3) Click Compile button to compile the code, then click flash to load the code into NUT flash. After the code is loaded into NUT, you will see User LED becoming flashing.