Skip to content

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

@anders0821

Description

@anders0821

刷了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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions