# MicroPython_Libs **Repository Path**: shaoziyang/MicroPython_Libs ## Basic Information - **Project Name**: MicroPython_Libs - **Description**: MicroPython的各种模块、传感器、液晶的库,兼容pyb和esp8266两大架构 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: http://www.micropython.org.cn/ - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 5 - **Created**: 2016-10-21 - **Last Updated**: 2024-10-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #MicroPython_Libs Micropython libraries for a wide variety of modules, components, sensors. Main purpose is let drive compatible with the esp8266, pyb amd other architectures, make it easy to use. Library will be continuous renewal. Usage: ------ for pyb: from pyb import I2C i2c = I2C(1, I2C.MASTER) from LPS25H import LPS25H lps25=LPS25H(i2c) lps25.TEMP() lps25.PRESS() for esp8266: from machine import Pin, I2C i2c = I2C(Pin(14), Pin(2)) from LPS25H import LPS25H lps25=LPS25H(i2c) lps25.TEMP() lps25.PRESS()