This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error processing ADS1015: has no attribute 'P0'
#11
Hi, I've tried now with a little help from my friend... ;-) to fix it. I have made a pull request for it.
Have not been able to test it myself yet.
 
Decription:
The Adafruit library moved P0–P3 from module-level exports into the class itself in a recent update. The fix:
ADS11.P0 → ADS11.ADS1115.P0 (lines 251–254)
ADS10.P0 → ADS10.ADS1015.P0 (lines 264–267)
Both ADS1115 and ADS1015 are fixed in openplotterI2cRead.py.

/Leif
Reply


Messages In This Thread
RE: Error processing ADS1015: has no attribute 'P0' - by leif_klasson@hotmail.com - 2026-05-20, 01:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)