User Activity

Hello, I have an issue with my code where I have configured SysTick and it triggers on every clock cycle, but I dont know how to make things trigger inside the main while loop #include "main.h" #include "functions.h" #include <stdbool.h> #include <st...
I need to make a "multi threaded" application, my mentor told me this, and I quote "you should create a thread by yourselfuse any system timer, e.g. simple tick timer"I do not really understand this, but he gave me some example pseudocode, hopefully ...
Hello, first of all, thanks for all the previous help to everyone. I want to debounce my input, using registers, but I'm running into the issue of it "not working" I am surely missing something in the logic I am overlooking.here is my interruptvoid I...
So here's the code ; The issue with it is that whenever I press the button, weird things occur, such as my output resetting completely-going to the maximum, at my output I have a variable PWM signal void PB_Init(void){ RCC->AHB1ENR |= RCC_AHB1ENR_...
Hello! Recently I got into STM programming for my internship and I cannot figure out register level programming yet, I have this piece of code ```RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN | RCC_APB1ENR_TIM2EN;GPIOA->MODER |=GPIO_MODER_MODE5_1 | GPIO_MODER_...