Blargian / Embedded-Sorting-Algorithms

A mixed C/C++ sorting algorithm visualizer for STM32F746G-DISCO hardware using TouchGFX and FreeRTOS.
0 stars 0 forks source link
cpp cubemx freertos open-source sorting sorting-algorithm-visualizations sorting-algorithms sorting-algorithms-implemented sorting-visualization stm32 stm32f7 stm32f746g-discovery touchgfx

🚧 STM32 Sorting Algorithm Visualizer (in progress) 🚧

Project Description

Sorting algorithms play an important role in computing as presorted data can help optimize other algorithms. Over the years many such sorting algorithms have been developed, each of which works in a slightly different way to acomplish the task. However, some are faster than others. Sorting algorithm visualizers are a common portfolio project, however this one is done on a microcontroller development board, the STM32F746G-DISCO, for an added challenge.

Through the touch screen of the device, the user is able to generate a random dataset using the the hardware's random number generator (so real random numbers and not just pseduo-random ones!), select which sorting algorithm they want to use from an informative catalogue of various algorithms, and then watch the algorithm sort the data set so you can get a feel for how the different algorithms work and how much faster some are than others.

ezgif-3-fd47577eef

Code walkthrough