Difficulties with the SPI on a PI Pico / Arduino IDE
- /RaspberryPi
- Corporate
- Posts: 2449
- Joined: Wed Jun 05, 2019 1:29 am
Difficulties with the SPI on a PI Pico / Arduino IDE
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