Search found 4 matches

by stefschin
Fri Jan 15, 2021 7:19 pm
Forum: General discussion
Topic: Help with detachInterrupt() PA4 PA5 behaviour
Replies: 4
Views: 137

Re: Help with detachInterrupt() PA4 PA5 behaviour

The full code please. did you try unitary on those pins ? My code has more thank 3k lines! I think you want my pinout setup: pinMode(OK_B, INPUT_PULLUP); pinMode(UP_B, INPUT_PULLUP); pinMode(DOWN_B, INPUT_PULLUP); pinMode(CANCEL_B, INPUT_PULLUP); pinMode(START_B, INPUT_PULLUP); pinMode(STOP_B, INPU...
by stefschin
Thu Jan 14, 2021 6:28 pm
Forum: General discussion
Topic: Help with detachInterrupt() PA4 PA5 behaviour
Replies: 4
Views: 137

Re: Help with detachInterrupt() PA4 PA5 behaviour

Sorry I didn't get notify by email and notificactions. I send my code of attaching and detacching interrupt // Función de pulsadores des/habilitadas void pulsa_st_on() { attachInterrupt(START_B,ST_EXTI_ISR,FALLING); } void pulsa_st_off() { detachInterrupt(START_B); } I try to add: __DSB(); __ISB(); ...
by stefschin
Thu Jan 07, 2021 10:32 pm
Forum: General discussion
Topic: Help with detachInterrupt() PA4 PA5 behaviour
Replies: 4
Views: 137

Help with detachInterrupt() PA4 PA5 behaviour

Hi, I'm working with STM32 BluePill in a like PLC board, and I use 6 GPIOs as user Inputs. 4 are tact switches for menu navigation conected to PA6, PA7, PB10, PB11 2 are for Start and Stop commands in PA4 and PA5. I use TMR2 INT every 1 ms to make various functions and one of them are debounce for s...
by stefschin
Thu Jan 07, 2021 10:08 pm
Forum: Let us know a bit about you and your projects
Topic: Happy New Year from Argentina!
Replies: 1
Views: 203

Happy New Year from Argentina!

Hi I'm Stephan and I'm working in a personal project, it's like a PLC but I use BluePill as processor and I'm programming with PlatformIO and Arduino Framework. I hope I can bring my help to this community, best

Go to advanced search