HELLO THERE!!!!! How are you guys? I hope everyone is fine and in good mood always. This week, I continue my tinkerings with the Multi Function Shield. In this experiment, I used the potentiometer in the shield to control the LEDs in the shield. Without further wasting time, let's jump in straight to the experiment!! HARDWARE 1.ARDUINO UNO 2.MULTI-FUNCTION SHIELD SOFTWARE: 1. ARDUINO IDE CIRCUIT ASSEMBLY The circuit assembly is fairly simple. Just attach the multi function shield on top of Arduino properly. Please attach the shield properly as failure to do so would cause the shield not to function as intended. CODING THE ARDUINO: Let's refer to the multi-function shield image below: Referring to the image of the shield, it can be seen that the potentiometer (blue object near buttons) is connected to pin A0 (analog 0) int pot = A0; //declaring the pot and led pins int l1 = 13; int l2
HI GUYS!! Welcome to My Blog!! In this blog, you can learn about Arduino basics and some interesting projects. Feel free to drop by and leave some comments. LET's SHARE OUR KNOWLEDGE TOGETHER!!
Press the DOWN KEY first before moving the snake in the direction. Use arrow keys to move the snake. Have Fun!!
ReplyDelete