Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

Other projects • Re: Custom Key pad

$
0
0
Very good. I assume you are using the Arduino IDE to write and test your code?

The wiring will be identical to the Pico. Don't use I/O pins 0 and 1 as they are used for serial communication. You can connect the PCB power pin to 5V on the Arduino, and ground to GND. Then you need to pick three GPIO pins and connect them, then declare them as inputs or outputs in your code.

If you have some code you want to try then post it here. If you don't have anything, I can rewrite the Pico micropython test code in C++ for Arduino for you.

But, basically you are driving a shift register with an Arduino, which is a common task so there may be some example code out there for you to adapt.
yeah I downloaded it once it arrived although I had thought the code would be the same, how different would the code be?
Well, C++ is different to micropython, and I don't think micropython runs on an Arduino.

The algorithm is the same, but the implementation will be slightly different.

Statistics: Posted by ame — Sun May 26, 2024 12:21 am



Viewing all articles
Browse latest Browse all 3556

Trending Articles