Breadcrumbs mpython-docs /docs /zh_CN /library /micropython / dht.rst Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Preview Code Blame 60 lines (34 loc) · 855 Bytes Raw dht模块中提供了dht系列温湿度传感器读取相关的函数。 类DHT22 构建...
This library focuses on using the I2C interface. The sensor also supports a 1-wire interface, available when pin 4 is connected to GND. Installation Using mip via mpremote: $ mpremote mip install github:mcauser/micropython-dht12 $ mpremote mip install github:mcauser/micropython-dht12/examples ...
放气IO develop/gettingstarted:阐明子模块初始化 develop/gettingstarted:更新 ARM 包列表 library/neopix...
需要用到 温度 湿度传感器 OLED屏幕 继电器 舵机 舵机控制器 加热线 等 最后在3D打印一个外壳 最近买了传感器DHT11 温度湿度传感器 这个传感器价格很低,但是精度不高 温度只能测量整数 比如 38 34 35 没有小数 温度也是只有整数 没有小数 建议购买DHT22 DHT11 DHT22 实际使用过程中 发现没有小数点 实在很难受 ...
https://github.com/adafruit/micropython-adafruit-ssd1306 导入方法是:先关闭串口,在cmd串口通过ampy指令ampy --port COM3 put ssd1306.py 将ssd1306.py导入到板子里: 再串口登录,输出以下两句: import os os.listdir() 可以看到ssd1306.py被导入进去了。
https://cn.element14.com/webapp/wcs/stores/servlet/CompareProductsDisplay?catalogId=15001&storeId=10183&langId=-7&catentryId=340497178,274390165&pageType=PLP https://www.farnell.com/datasheets/2913794.pdf https://cn.element14.com/raspberry-pi/raspberry-pi-pico/raspberry-pi-32bit-arm-cortex/dp/...
MPU-6050 MicroPython Library By default, MicroPython does not have an implementation of the MPU-6050 library. But, MicroPyhon provides I2C API of ESP32 and ESP8266 which can be used to read values from the MPU-6050 sensor. Fortunately, there is one library available which is developed by Ad...
# http://docs.micropython.org/en/latest/pyboard/library/framebuf.html class SSD1306(framebuf.FrameBuffer): def __init__(self, width, height, external_vcc): self.width = width self.height = height self.external_vcc = external_vcc
use macOS terminal can not install MicroPython on Raspberry Pi Pico bug All In One 使用 macOS 终端无法在 Raspberry Pi Pico 上安装 MicroPython bug MicroPython 环境
add strings vs bytes to speed optimisation tips - library/espnow: clarify usage of the "rate" configuration key - library/marshal: document the marshal module - fix double 'the' in documentation - library/machine.Pin: show availability of low, high and toggle - samd: update the SAMD docum...