Hello,
I recently purchased a pico-dev screen from Core electronics
I was wondering can I use Ardunio IDE to program the display/screen as thorny does not work on my computer as keeps crashing when including libraries and if I can use the cable that I purchased with it to make it work
I also purchased the cable which has vcc and gnd that connects into the expansion board, since it’s using different wires to my ardunio components will it still work? Below is an example of the cable
Hmmm I’m a little confused now. My fault.
Maybe I didn’t understand your original post?
The way I read the above is that your wanting to use this cable to connect your picodev display to non-picodev products, (like a button or arduino PWM pin). Did I misunderstand?
Can you tell me more about the expansion board and what other components you mean?
Nah @Pixmusix its all good I greatly appreciate the help and I too find it confusing at times,
So I have a pico and want to connect a display (picodev display) but the majority of the ports on the pico are being used so I wondered by using the cable (see the image from earlier), will it allow me to run the code that I write in the Ardunio IDE on the pico dev display?
Those are the same four connections you would need for any SSD1306 type display
That’s good news. I think the picodev cable doesn’t need any special code. It is just a handy connection that removes the need from soldering the four connections by hand.
You just need to make sure you assign the right datapin to the right cable in your code.
How are you connecting the cable to your microcontroller?
Hmmm I’ve never used this. Maybe someone for CE will need to chime in and explain how this works.
Alternatively, now that we have narrowed your question to “How can I output direct to the Clock and Data pins of my picdev cable in C++.”, you may consider writing a quick email to CE. You could point them to this thread or they may respond with an answer to your email and you can update us.
The connector is wrong for an Arduino, and will have to be changed. Also, the Arduino does not have the required connectors available at adjacent pins. The Arduino pins are in two separate locations, and the easiest arrangement is actually to use four separate connectors. The cable you need is this:
Are you using the Arduino IDE because you are connecting the display to an Arduino, or are both devices Pico? If both devices are Pico then the IDE you are using has no impact on the cabling.