Pin out selection

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tom2021
 
Posts: 49
Joined: Tue Dec 28, 2021 9:07 am

Pin out selection

Post by tom2021 »

I only have the following pins left and I am not sure which pins are best for the remaining hardware, does the following look correct?

NeoPixels (60 LEDs) to either D23, D24 or D25?
To read/write to the Adafruit Feather M4 Express connect D4 to GND?
Mini LED Arcade Button to SCL - does it need a 10k resistor as it is not a pullup pin?
Mini LED Arcade Button to SDA - does it need a 10k resistor as it is not a pullup pin?

For the buttons if I connect a 10k resistor do I still need to do?:

Code: Select all

button1 = digitalio.DigitalInOut(board.SCL)
button1.direction = digitalio.Direction.INPUT
button1.pull = digitalio.Pull.UP

Code: Select all

button2 = digitalio.DigitalInOut(board.SDA)
button2.direction = digitalio.Direction.INPUT
button2.pull = digitalio.Pull.UP
Pins remaining:
  • SCK (D25)
    MOSI (D24)
    MISO (D23)
    SCL (D22)
    SDA (D21)
    D4
Currently in use:
  • A0 - Adafruit STEMMA Speaker
    A1 - IR Break Beam Sensor
    A2 - RGB Matrix (D)
    A3 - RGB Matrix (C)
    A4 - RGB Matrix (B)
    A5 - RGB Matrix (A)
    D0 - RGB Matrix (LAT)
    D1 - RGB Matrix (OE)
    D3 - RGB Matrix (CLK)
    D12 - RGB Matrix (B2)
    D11 - RGB Matrix (R2)
    D10 - RGB Matrix (G2)
    D9 - RGB Matrix (B1)
    D6 - RGB Matrix (R1)
    D7 - RGB Matrix (G1)

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pin out selection

Post by adafruit_support_mike »

What board are you using?

User avatar
tom2021
 
Posts: 49
Joined: Tue Dec 28, 2021 9:07 am

Re: Pin out selection

Post by tom2021 »

adafruit_support_mike wrote:What board are you using?
Adafruit Feather M4 Express

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”