Hello,
I have a Raspberrt Pi Pico W and a Sparkfun Temperature Sensor AS6212
I am using Arduino IDE in Windows
I have loaded the Sparkfun AS6212 QWICC Arduino library using the Library manager
I use the Example_01_BasicRedings.ino (Examples->Examples from custom library->Example_01_BasicRedings.ino)
I get the below error message.
Appreciated if anyone can see what is going wrong?
Are there any additional libraries that need to be installed?
Where do I enter the names of the pins on my Pico for SDA and SCL?
Do i have to use a qwiic I2C driver module?
Fredrik
My error message from Pico W:
CDRTOSConfigure
Info : only one transport option; autoselect ‘swd’
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: Failed to open or find the device
Error: Can’t find a picoprobe device! Please check device connections and permissions.
You’ll need to use micropython or circuitpython…the required packages are listed here https://github.com/sparkfun/Qwiic_AS6212_Py (you need to qwiic and AS6212 ones)
Then try converting them to micropython https://github.com/PlantandFoodResearch/pytomicropy and finally circle back to https://learn.sparkfun.com/tutorials/di … n-examples for a demo of some functions
Thanks for your reply.
I am trying to convert MicroPython to CircuitPython using the information from the page you sent me.
I run
python -m pip install https://github.com/pfrnz/pytomicropy/archive/main.zip
I received this error message
ERROR: No matching distribution found for python-minifier<3.0.0,>=2.5.0
I’ll then install Python 2.7.6
I run
C:\Python27 -m pip install https://github.com/pfrnz/pytomicropy/archive/main.zip
I received this error message
C:\Python27\python.exe: No module named pip
Thank you for tips on how to use pip
Fredrik
I use Windows 11
HI!
I have assumed that my error message is due to using the wrong version of pip for use with python 2.7
ERROR: No matching distribution found for python-minifier<3.0.0,>=2.5.0
I downgrad pip with
python -m pip install pip==18.0
I get an error when I run
pip --version
I can’t understand this error message.
This time it might be because I don’t have pip installed.
When I run below command I get the error again
C:\Python27\python.exe: No module named pip
What version of pip shall I use for python 2.7?
how do i install and use the correct pip version for python 2.7?
Fredrik
https://pip.pypa.io/en/stable/news/
Go through some basic tutorials on how it all works…python 2.7 was released in 2010 (a LONG time ago); you likely need to remove it and upgrade to 3.x and go from there
Note that these are issues with getting the Pico set up…their docs/resources are likely more appropriate
Also see https://projects.raspberrypi.org/en/pro … the-pico/2