Search found 2 matches

by IMESHPEIRIS
Mon Nov 11, 2024 6:21 am
Forum: General discussion
Topic: Unable to access variables in ISR
Replies: 2
Views: 922

Re: Unable to access variables in ISR

Hi @fpiSTM,

sorry for the missing " Serial.begin(9600); ". actually i removed it bcz of serial monitor not working at all.

Also i have test the your code in my STM32F303K8 board by simply changing the #define InterruptPin USER_BTN to #define InterruptPin D3 . but it wouldn't worked too(serial ...
by IMESHPEIRIS
Fri Nov 08, 2024 11:02 am
Forum: General discussion
Topic: Unable to access variables in ISR
Replies: 2
Views: 922

Unable to access variables in ISR

Hello,

I'm trying to access the variable inside the ISR and i want to initiate the PWM signal on D4 pin when the interrupt occurred. also duty cycle of the PWM is control by analog potentiometer as shown in the below code. i have try this code but it wouldn't work (no PWM output).

i have tried ...

Go to advanced search