ESP32导入库,但是库不存在,如何安装MicroPython库??

sunpats
Posts: 5
Joined: Fri Apr 14, 2023 7:55 am

ESP32导入库,但是库不存在,如何安装MicroPython库??

Postby sunpats » Mon May 06, 2024 6:55 am

  1. from machine import Pin, ADC
  2. import noise
  3.  
  4. # ao 模拟信号
  5. # do 数字信号
  6. adcObj = ADC(Pin(32))
  7. noObj = noise.Noise(adcObj)
  8. print("noise inited")
【问题1】导入noise库,但是库不存在,如何安装MicroPython库??
Image
【问题2】有Python的noise库,装还是不装?装了也是没用啊,环境是MicroPython
Image
【请教】请问以上问题如何解决?
Attachments
ww.gif
库安装
ww.gif (2.07 MiB) Viewed 830 times
截图_选择区域_20240506144433.jpg
导入noise库
截图_选择区域_20240506144433.jpg (58.32 KiB) Viewed 830 times

Who is online

Users browsing this forum: No registered users and 70 guests