更新支持MINI-G5库,及修复HX720负数转换问题

This commit is contained in:
dahanzimin
2025-04-16 18:47:26 +08:00
parent 325d6e90dc
commit 9702a31053
3 changed files with 42 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ class CI130X:
self._rreg(_CI_ID_GET, 3)
except:
try: #C130X 启动慢,加延时判断
time.sleep_ms(500)
time.sleep_ms(850)
self._rreg(_CI_ID_GET, 3)
except:
raise AttributeError("Cannot find a CI130X")