Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
https://github.com/MuskaanJain2021/MULTITASKING-ON-STM32F407VGT6.git
Task I am trying to achieve is
The LED is off initially.
Depending on switch press, the LED blinks in following way.
1st Switch press: LED blinks at frequency of 0.5 Hz.
2nd Switch press: LED blinks at frequency of 1 Hz.
3rd Switch press: LED blinks at frequency of 2 Hz.
4th Switch press: LED turns off.
I am using NVIC,Exti, gpio, systick,led pattern drivers .
Present status is led is off initially and then it glows on 1st button press then nothing happens(still on)
I can help, where are stuck?
@karmahitsback so where are you stuck?
1. Interrupt not firing
Exti has switch implementation
Gpio init working fine thatβs why led was off initially and on press it started glowing
NVIC driver working perfectly
so where is your application broken then, I see no specific points
I didnβt get ur point
Can u be more clear
There are too many issues above to determine what is stopping you.
I think my drivers are Gud enough. I have recently self working on bare metal
So where is your code acting unexpectedly
Interrupt not triggering 1st
Previous systick I defined that way switching happening
While debugging
I then thought abt using attribute thing and making variables in RAM and ROM
Should I try that
But before that both issues I need to find out the cause
Can anyone help me out or atleast give me some pointers
Start by fixing what you know is broken
CONTRIBUTE TO THIS THREAD