Gpio 7 - 8 - 9 - 10 - 11 as digital input

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
79
Reaction score
70
Location
Parma, Italy
What state or country do you live in
Other International
Rating - 0%
0   0   0
I have some problems to use gpio 7 to 11 as digital input, after the configutation on reef-pi and using, for example, - gpio7 as input for my ato i have no response, there some kind of configuration to do on my raspberry?
 
Hmmmmm, good question.

#reefpi
 
Those pins are used for the SPI which is probably enabled. Try the following command in the terminal window to see if it will disable it.

sudo dtparam spi=off

If that doesn't work you have to do the following.

sudo raspi-config

Then go to Interfacing Options and disable it there.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top