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
Unable to Import "Adafruit_MCP3008
(2021-08-27, 10:02 AM)KAKU Wrote: Hi, all, news here!
I am unable to import "Adafruit_MCP3008" I get an error message when I run my code (I have downloaded that module onto my Pi), and when I go to the GitHub site it says that the Adafruit _Python_MCP3008 library has been deprecated and the CircuitPython must be used.  Does anyone come about this case when using it?
Obviously, I'm a NOOB and I found some videos about this on Youtube. But I'm confused about how code works and mine does not.  

There's a whole bunch of stuff here confirming what you say about the library being deprecated but it shows how to use the CircuitPython module instead. It has plenty of examples.

You need the library Adafruit_CircuitPython_MCP3xxx. You can use this library with python or CircuitPython.

Messages In This Thread
Unable to Import "Adafruit_MCP3008 - by KAKU - 2021-08-27, 10:02 AM
RE: Unable to Import "Adafruit_MCP3008 - by baltika_no_9 - 2021-08-31, 09:18 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)