FreeRTOS Lecture 02 | Multiple LED Blinking with Multiple Tasks in STM32 FreeRTOS
In this FreeRTOS Lecture 02, we learn how to create and manage multiple tasks in FreeRTOS by controlling multiple LEDs independently on an STM32 microcontroller. TimeStamp 00:00 - Introduction to Tutorial 02: Creating Multiple Tasks 00:40 - Recap & Checking STM32CubeIDE Installations 01:56 - Q&A: Hard Delay vs. osDelay (CPU Efficiency) 04:30 - Why use Multiple Tasks in RTOS? (Real-world examples) 05:05 - Opening the IOC file & Renaming Tasks 06:22 - Adding Multiple Tasks (Task 2, 3, and 4) 06:40 - Understanding Task Priorities: How the Scheduler Works 08:28 - Setting OS Priorities for Task Distinction 10:10 - Managing Stack Size & Verifying Heap Memory 11:02 - Thread Safety: Standard C Library Functions vs. Reentrant Safety 12:25 - GPIO Configuration for Multiple LEDs (Blue, Green, Red) 15:43 - Generating Code & Reviewing the Task Creation Functions 16:40 - Writing the Toggling Code for Multiple LEDs 18:25 - Assigning Different Delays to Tasks (1000ms, 500ms, 200ms) 19:05 - Building & Compiling the Code 20:11 - Demonstration: Three LEDs Blinking Simultaneously 21:35 - Discussion on Task Latency & Oscilloscope Verification 23:05 - Exercise: Testing Multiple Tasks on a Single LED You will understand: ✅ What is a Task in FreeRTOS ✅ How to Create Multiple Tasks ✅ Task Scheduling Basics ✅ Running Multiple LEDs Simultaneously ✅ Real-Time Multitasking Concepts ✅ STM32CubeIDE FreeRTOS Configuration ✅ Practical Embedded Systems Example This lecture is perfect for beginners who want to understand how FreeRTOS performs multitasking in embedded systems. 🎯 By the end of this session, you will be able to create multiple FreeRTOS tasks and control multiple LEDs independently. 🔥 Join the Complete STM32 FreeRTOS Bootcamp: https://electro4u.net/course/stm32-fr... 📌 Subscribe for more Embedded Systems, STM32, RTOS, AUTOSAR, C++, PCB Design, and Interview Preparation content. #STM32 #FreeRTOS #EmbeddedSystems #RTOS #STM32CubeIDE #Microcontroller #Electro4u #EmbeddedProgramming

FreeRTOS Lecture 03 | FreeRTOS Preemption Explained with Practical Tests | RTOS Scheduling Deep Dive

Wahnsinn: Hermes-Agent + Qwen

DIY Solenoid Graver: Programming the board

Before You Trash Your Old PC Power Supply... Build This!

FreeRTOS Lecture 1 | STM32 FreeRTOS Project Setup & RTOS Fundamentals

I Hacked This Temu Router. What I Found Should Be Illegal.

FreeRTOS Lecture 1 Part 2 | FreeRTOS toggling LED with single thread

FreeRTOS Lecture 4 | Thread Suspend, Resume & Terminate Explained with Examples

Stop Buying the Wrong Board — Arduino vs ESP32 vs STM32 vs Raspberry Pi vs BeagleBone vs Jetson Nano

Allen Bradley PLC Programming Sequencer Tutorial. Sequence Control

When Stupid Cops Mess With FBI Agent

Die lächerlichsten Fehler von Arbeitern, gefilmt mit der Kamera

How to make a mini air conditioner at home! This easy idea you’ll use every day

COMPLETE EMBEDDED SYSTEMS Roadmap - What Arduino Won't Teach You

You Owe Him

Is Putin on the back foot in Ukraine and in Russia? | The Global Story

I Repaired the Broken Swing Gear which no Mechanic Repairs |Give your Opinion by Watching the Video

Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #1 #adamrose #smartworkers

“You’ll Never Be Like Us.” Until 500KG Happened 🔥

