将单个 LED 连接到 Arduino,并使用内置示例代码使其闪烁。
Watch the video to learn how to blink an LED. Then in a separate window, connect an external LED to Arduino pin 13 using the breadboard in Tinkercad. This time you will need to change the value of the resistor – set it to 220Ω. Click the Code button and use the Blocks dropdown menu to select "Text." When you click "Start Simulation," the LED should blink on and off.
观看视频,了解如何使 LED 闪烁。然后在单独的窗口中,使用 Tinkercad 中的面包板将外部 LED 连接到 Arduino 引脚 13。这一次您需要更改电阻器的值 – 将其设置为 220Ω。单击 Code 按钮并使用 Blocks 下拉菜单选择 “Text”。当您单击“开始仿真”时,LED 应闪烁。