LED WAVES On Thursday, we went back to LEDs and created a wave of 6 LEDs. Almost everyone was able to make their wave light up and down the row, which was awesome! The code and wiring diagram can be found on the Slideshows and Notes page. Next Thursday, we'll start working with Analog Inputs. Up to this point, we've been using digitalWrite to light up our LEDs. Digital signals are either High or Low. In other words, a digital signal is either on or off, 0 or 1. Analog signals, on the other hand, have a range of values from 0 to 1023. With analog signals, we can record the amount of ambient light that hits a light sensor, the direction of a potentiometer, the amount of force applied to a force sensor, and more. Because analog signals take on a range of values, we can control and get inputs from much more precise motors and sensors. We'll begin with using potentiometers to control motors, leds, and buzzers on Thursday. Quote of the Day: Life is analog. Death is digital. |
0 Comments
Leave a Reply. |
AuthorsRam Goli Archives
November 2015
Categories |