adafruit / Adafruit_CircuitPython_PM25

CircuitPython library for PM2.5 sensors
MIT License
28 stars 16 forks source link

AttributeError: module 'adafruit_pm25' has no attribute 'PM25_UART' #18

Closed visiblethinking closed 3 years ago

visiblethinking commented 3 years ago

Eh? This code used to work. Maybe a bug in newer versions?

` pm25 = adafruit_pm25.PM25_UART(uart, reset_pin)

AttributeError: module 'adafruit_pm25' has no attribute 'PM25_UART'`

Using latest version that installs with pip3.

visiblethinking commented 3 years ago

my bad