Войти
  • 35825Просмотров
  • 3 года назадОпубликованоLearn Embedded Systems

FreeRTOS on the Raspberry Pi Pico (RP2040) Part 2: Tasks and Queues

FreeRTOS is an open source Real Time OS available for a wide range of microcontrollers and this video is part 2 in a series on using FreeRTOS on RP2040 based boards such as the Raspberry Pi Pico. In this video we show you how to set up tasks in FreeRTOS. We also cover how to communicate between tasks with queues. By the end of this tutorial you will have a project where one task will flash the LED on the Raspberry Pi Pico on and off and the other task will print the state of the LED over USB serial. The written version of this tutorial and the code used is available: Template Project Repo: GitHub Command: "git clone --recurse-submodules " In this tutorial we create a simple "blinky" program where a Raspberry Pi Pico toggles its onboard LED on and off and communicated this over USB serial interface using two FreeRTOS tasks. Timestamps 00:00 Introduction 00:45 What is a Real Time OS? 04:24 Tasks 05:23 Queues 07:44 Implementation 12:50 Conclusions If this video helped you, please consider leaving a like and subscribing, thank you! To see our videos on the Raspberry Pi Pico, check out the playlist here: You can find more embedded systems tutorials and projects on our website -- Equipment we use regularly -- The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed. Budget Soldering Iron: UK: US: Breadboards: UK: US: Jumper Cables: UK: US: Camera: UK: US: Lens: UK: US: Tripod: UK: US: All videos and tutorials on this channel and mentioned websites are for educational purposes only.