最小 STM32 HardwareTimer PlatformIO / Arduino 定时器中断闪烁示例

这是一个在 PlatformIO / Arduino 上使用 HardwareTimer(它是 PlatformIO STM32 Arduino 安装的一部分 - 无需安装库)使用定时器中断的最小示例。在 Olimex E407 板上测试过。它几乎可以在任何 STM32 处理器上运行,但你可能需要将 PC13 调整为连接到 LED 的引脚。该示例将每秒闪烁一次 LED。


Check out similar posts by category: PlatformIO, STM32