2020-02-25 04:40 AM
I'm new to STM8 microcontrollers and have purchased a few STM8S003F3P6 boards to learn how to interface a PS/2 keyboard and mouse. I have installed the ST Visual Develop IDE with STM8 Standard Peripheral Library and started tinkering with blinking a LED. Now, I want to learn more about external interrupts. I tried googling but couldn't find any sample code. Anyone?
Best Regards,
2020-02-25 04:57 AM
Not at a computer right now, but should be EXTI examples, configure pin as input associate pin# with EXTI
2020-02-25 02:36 PM
A sample code would be great. :)
2020-02-25 02:49 PM
STM8S_StdPeriph_Lib\Project\STM8S_StdPeriph_Examples\EXTI\EXTI_InterruptPriority ??
2020-02-25 02:51 PM
https://github.com/eddyem/STM8_samples/blob/master/DRUM/interrupts.c
2020-02-25 09:55 PM
Oops, I didn't notice that.
Tried the EXTI example and it works great, thank you!