Difficulties with the SPI on a PI Pico / Arduino IDE

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Difficulties with the SPI on a PI Pico / Arduino IDE

Post by /RaspberryPi »


Sooo, cruzify me, but since i mostly know C so far, i began playing arround with a PI Pico, programming it via the Arduino IDE. For a project in the far future i tried connecting a MCP3208 ADC with the SPI1 Bus (Pins 10, 11, 12, 13). I used the MCP3208.h library so far on my Arduinos, which worked perfectly, but now on the Pico the library isnt too happy initializing the SPI. I tried to use the PicoSPI.h lib to initialize the SPI seperately, but no luck so far.

Does anyone here have an idea how to do it?
submitted by /u/Hoizmiche
[link] [comments]

Source: https://www.reddit.com/r/raspberry_pi/c ... duino_ide/
/RaspberryPi
Post Reply

Return to “Raspberry Pi Forum”