牛卧堂MCU技术交流

标题: [Mini51] Software RTC [打印本页]

作者: admin    时间: 2022-4-27 10:01
标题: [Mini51] Software RTC
This example code demonstrates how to use timer periodic mode to emulate RTC function. We configure Timer0 in periodic mode. Enable interrupt and one interrupt tick per second. Hence, we can get the latest time related information every second.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1225172140





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2