import timefrom struct import *import loggingfrom machine import Pin# 测试寄存器值对应寄存器def debug_enum(enum):  debug = {}  for k, v in enum.__dict__.items():    if type(v) is int:  &

- 阅读全文 -