Arduino 101: Tutorial #7 |Playing with LED|
Hello people! In this tutorial we will try to make various patterns to blink a single LED. This is going to be fun :). So let's get started.! Suggested Reading If you aren't familiar with the following concepts, I recommend checking out these tutorials before continuing. Connecting an LED in a circuit Working with breadboard Electrical Engineering Basics Making the circuit In this tutorial we're going to use the same circuit that we made in our previous tutorial here. The circuit goes as follows: The only new thing that we're going to do today is to blink the LED differently by making slight changes to our code. Coding Until now, we've been executing all lines of our code. But what if we want to do something on a certain condition , and something else on some other condition. These kinds of situations as very common in coding and is an important part of programing. These situations are handled in programing by something known...