Posted inArduino Arduino C/C++ Cortex-M0 Cortex-M3 Cortex-M4 Data Structure English esp32 esp8266 STM32
[EN] Stack data structure with Singly Linked List.
This article describes a stack data structure to write programs in C on various platforms using a single linked list data structure as a stack data store with examples of the array as storage and test the operation with the microcontroller board LGT8F328P, SAM-D21, ESP8266, ESP32 and ESP32-S2 as shown in Figures 1 and 2. In case of wanting to use with other platforms, you can still modify the code for use such as the same.
![](https://www.jarutex.com/wp-content/uploads/2022/01/DSF8104.jpg)