vcc-gnd / YD-ESP32-S3

YD-ESP32-S3 Micropython VCC-GND Studio
120 stars 23 forks source link

Micropython下内置温度和霍尔传感器无法使用 #13

Open anders0821 opened 7 months ago

anders0821 commented 7 months ago

刷了Micropython固件:YD-ESP32-S3-N16R8-MPY-V1.1.bin 内置温度和霍尔传感器无法使用,esp32模块存在,但没有函数hall_sensor()和raw_temperature()

>>> import esp32
>>> esp32.hall_sensor()
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
AttributeError: 'module' object has no attribute 'hall_sensor'
>>> esp32.raw_temperature()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'raw_temperature'
genicsoft commented 5 months ago

你应该去问Micropython 或者用最新版mpy固件