CHAPTER
NINE
SCRATCH TUTORIAL
9.1 Scratch Code file download
Click on the link to download the Scratch code file:Download-Scartch-Codes
9.2 Scratch Project
9.2.1 Project 1: LED Blinking
1. Description
LED blinking is a simple project designed for starters. You only need to install an LED on Arduino board and upload
the code on Arduino IDE. This project reinforces the learning of Arduino conceptual framework and using methods
for starters.
9.2.2 2. Working Principle
LED: Generally speaking, limited IO ports of output current may cause low brightness of LED, so a NPN triode (Q2)
is applied in circuit as a switch. In this case, the LED will light up if the base(pin 1) of triode is at a high level. On the
contrary, LED goes off when the base is at low.
165
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers