![]() We have a tutorial on PWM, but for now, think of these pins as being able to simulate analog output (like fading an LED in and out). These pins act as normal digital pins, but can also be used for something called Pulse-Width Modulation (PWM). PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO).These pins can be used for both digital input (like telling if a button is pushed) and digital output (like powering an LED). Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO).These pins can read the signal from an analog sensor (like a temperature sensor) and convert it into a digital value that we can read. Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO) are Analog In pins.Most of the simple components used with the Arduino run happily off of 5 or 3.3 volts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |