https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241002/cff558aa3fe4709a2661d1ec3bf89698.png
官网文档中都有这个属性呢 "image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20240915/d700dd8c5e1a03ec8533220d04ee9cf2.png) from machine import RTC import time rtc = RTC() rtc.datetime((2024, 8, 22, 3, 8, 34, 36, 0)) while True: print(rtc.datetime()) time.sleep(0.5) rtc.alarm((2024, 8, 22, 3, 8, 35, 36, 0)) //AttributeError: 'RTC' object has no attribute 'alarm'
一个两个示例都是这样写的,pip也无法安装sdcard "image.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241022/0021c7cc5dd82e6b25908763f58bdaeb.png)