Skip to main content
OCROI.1
Visitor II
June 3, 2020
Question

How to generate a timer interrupt using Arduino IDE and STM23duino ?

  • June 3, 2020
  • 2 replies
  • 2279 views

I want to generate an interrupt each second using Arduino IDE and STM23duino. The interrupt ISR will store an byte value. The target is a Bluepill with STM2F103C8T6.

I found a lot of exemples on the web, but nothing running or compling using these tools.

Thanks for help.

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
June 3, 2020

Isn't the scope of Arduino to provide a unified and extremely simplified interface to the user?

If there's no native "interrupt" mechanism in Arduino, then you are simply not supposed to do it, that's all.

There's little support here for Arduino. You might want to go to the stm32duino.com forum.

JW

LMI2
Senior III
June 4, 2020

I don't understand these forums. ST is reinventing the wheel and using square wheels here, this question seems to be in two places.

But there is a ST Arduino forum. https://community.st.com/s/topic/0TO0X000000BWWSWA4/arduino and of course the Arduino forum. https://www.arduino.cc/ Isn't it the job of Arduino library to handle interrupts.