ArduinoSTM32 RTC clock

438 篇文章 1641 订阅 ¥19.90 ¥99.00
16 篇文章 15 订阅
本文介绍如何使用STM32F103C8开发板结合Arduino环境来搭建RTC实时时钟,通过时间戳获取工具Epoch Converter进行日期和时间的转换。
摘要由CSDN通过智能技术生成
ArduinoSTM32 RTC clock
  • 时间戳获取:Epoch & Unix Timestamp Conversion Tools
  • https://www.epochconverter.com/
    在这里插入图片描述
  • 开发板STM32F103C8
/*   STM32F103C8 Blue Pill ( PC13)

  Serialport set and display RTC clock , Write by CSNOL https://github.com/csnol/STM32-Examples
  based on https://github.com/rogerclarkmelbourne/Arduino_STM32

  1. Blink on PC13 per 4s or 7s by attachAlarmInterrupt for 10 times
  2. Second counter by attachSecondsInterrupt
  3. Serial output on(41s) or off(21s) by creatAlarm
  4. change to y
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值