SunFounder 3in1 Kit
will interfere with communication, including causing the upload board to fail.
• If the digital pins are used up, the analog pins (A0-A5) can also be used as digital pins.
Related Components
Below are the related components, you can click in to learn how to use them.
4.1.1 1.1 Hello, LED!
Just as printing “Hello, world!” is the first step in learning to program, using a program to drive an LED is the traditional
introduction to learning physical programming.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
3 in 1 Starter Kit 380+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
Arduino Uno R4 Minima -
Breadboard
Jumper Wires
Resistor
LED
Schematic
The principle of this circuit is simple and the current direction is shown in the figure. When pin 9 outputs high level(5V),
the LED will light up after the 220ohm current limiting resistor. When pin 9 outputs low level (0v), the LED will turn
off.
Wiring
4.1. 1. Digital Write 89