-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 issue #13
Comments
I have not seen this before, something wrong with logging module would be my suspicion, what happens if at the REPL prompt you do:
Does this work? If it does what does:
Give you? Chris |
Investigating a bit more I can see that the logging module has been updated recently and the So until I can update pyb_in219 to account for this, you can try versions of the logging library before this commit, perhaps the one of 27th Mar 2021 would be a good place to start, so download and install this https://raw.githubusercontent.com/micropython/micropython-lib/fa13cbbc8b53e2ec6abbb1b0fa33d085582f3c54/python-stdlib/logging/logging.py Chris |
Update to pyb_ina219 to support latest version of |
Fix for this already in progress on PR12, am looking to complete this. |
Thanks for quick reply. I tried with the commit you sent and it works. |
I faced same issue reported in the OP when testing the library on a Pico W. Applied suggestion from below link (chnge in line 409) to get it working. |
Hi,
i am trying to run this current sensor with esp8266, but i've got a lot of issues. I solved a most of the problems myself but one i can't do for 3 days.
During start program it shows me "AttributeError: 'module' object has no attribute '_level'". Code is from your example. You can see it below. The logging.py file from official micropython github from linked file in README.
Have you got any solution of this problem?
The text was updated successfully, but these errors were encountered: