xreef / PCF8574_micropython_library

MicroPython library for pcf8574 an i2c digital expander for Arduino, esp32, SMT32 and ESP8266. Can read write digital values with only 2 wire.
https://www.mischianti.org/category/my-libraries/pcf8574/
Other
6 stars 0 forks source link

ModuleNotFoundError: No module named 'machine' #1

Open neeoder opened 11 months ago

neeoder commented 11 months ago

If I try to 'from PCF8574 import PCF8574' it gives me this error message.

xreef commented 11 months ago

Hi, check how to configure the environment, here my articles.

https://mischianti.org/?s=micropython

You need the machine to manage GPIO.