In this lesson, we will build upon what we’ve already done by adding a servomotor. Remember, my goal was to simulate a railroad crossing by having two flashing LEDs for the signpost, two LEDs for the crossbar that drops down across the road, and the bar itself to lower and…
tutorial
-
-
In this lesson, we will build upon Lesson 6 by changing our code to make the pushbutton act as a toggle switch. What that means is that previously, when we pressed the button, the LEDs lit and when we released the button, the LEDs turned off. The desired behavior for…
-
Okay, so in the last lesson, we learned to use a pushbutton to have our LEDs start blinking. The code used the delay(int millisecondsToWait) function to create the blinking effect. However, I noticed that when the button was released, the way the code was written, the delay for HIGH and…
-
Hi guys, I’m back after a loooonnng break from the blog. I’m sitting here on self-quarantine during the coronavirus pandemic of 2020 and thought, dang, I’d like to get the Maker Daddy blog up and running again. So, here I am. It’s been so long since I’ve played with the…