1

When I hooks up LEDS to the GPIO, and switched the Pi on, I noticed that pins SDA, SCL, CE0 and CE1 all turned on without me programming them. Are they always automatically on? Or are they meant for input only.

1 Answer 1

1

The answer depend in part on how you connect them. You should always provide this kind of information when asking a question (to save people having to ask).

I assume you have LED connected to Gnd. Pin 3,5 are intended for use with I²C and have 1.8k pullup to 3.3V.

Pin 24,26 are normal pins, configured as input by default. They are often used in conjunction with SPI, so again it depend on what you have configured.

2
  • I haven't configured anything, is there a way to switch 24 & 26 to output?
    – LilVinny
    Sep 18, 2016 at 2:04
  • These should be programmable in the normal fashion. All pins are Input by default. As there are about 10 different ways of doing this I am not going to list all. Add some detail to your question about what you have connected and what you are trying.
    – Milliways
    Sep 18, 2016 at 2:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.