EasyManuals Logo

SunFounder ESP32 User Manual

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #262 background imageLoading...
Page #262 background image
SunFounder ESP32 Starter Kit
2.7 Video 7: Arrays and Loops in Arduino Programming
This tutorial is designed to provide a thorough understanding of using arrays and loops in Arduino programming,
specifically tailored for beginners using the ESP32 module.
Introduction to Arrays: Explains what an array is, how to define it with multiple values, and how to access and
modify its elements.
Defining and Filling Arrays: Shows how to define an empty array with a predefined size and fill it with values
using indexes.
Using Loops with Arrays: Introduces different types of loops - for loop, while loop, and do-while loop -
and their usage in accessing and modifying array elements.
For Loop: Demonstrates iterating over an array’s elements, with detailed explanation on the loop’s
structure and incrementing index.
While Loop: Explains the while loop that executes code blocks based on a condition and showcases
decrementing a value until a condition is met.
Do-While Loop: Focuses on do-while loop which ensures the code block is executed at least once
before checking the condition.
Practical Examples: Includes examples on updating array values, printing all elements of an array, and using
conditional statements within loops.
Video
2.8 Video 8: Walking Light with 74HC595 Shift Register
This tutorial is designed for learners to understand how to use a shift register with the ESP32 for controlling multiple
LEDs, creating a dynamic lighting effect.
Introduction: Uses ESP32 microcontroller and 74HC595 shift register.
Components: Includes ESP32, breadboard, jumper wires, resistors, LEDs, and the 74HC595 chip.
74HC595 Features: Explains its serial-in, parallel-out functionality.
Wiring Guide: Provides step-by-step instructions for wiring the components.
Arduino Code: Discusses code for controlling LED sequences with the shift register.
Demonstration: Shows how to adjust light patterns and speed using the code.
Video
Related On-line Tutorials
2.4 Microchip - 74HC595
256 Chapter 2. Arduino Video Course

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish