SunFounder ESP32 Starter Kit
(continued from previous page)
'Orange'
['Banana', False, 3.14, True]
The del keyword also removes the specified index:
C_list = ["Red", "Blue", "Green"]
del C_list[1]
print(C_list)
>>> %Run -c $EDITOR_CONTENT
['Red', 'Green']
The clear() method empties the list. The list still remains, but it has no content.
C_list = ["Red", "Blue", "Green"]
C_list.clear()
print(C_list)
>>> %Run -c $EDITOR_CONTENT
[]
2. Displays
3.7 2.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
ESP32 Starter Kit 320+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
ESP32 WROOM 32E
ESP32 Camera Extension -
Breadboard
Jumper Wires
Resistor
LED
3.7. 2.1 Hello, LED! 307