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
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?
 

jsker

Reefing is all about the adventure
View Badges
Joined
Apr 11, 2015
Messages
24,974
Reaction score
79,741
Location
Saint Louis
Rating - 0%
0   0   0
Hmmmmm, good question.

#reefpi
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
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.
 

When to mix up fish meal: When was the last time you tried a different brand of food for your reef?

  • I regularly change the food that I feed to the tank.

    Votes: 45 21.5%
  • I occasionally change the food that I feed to the tank.

    Votes: 72 34.4%
  • I rarely change the food that I feed to the tank.

    Votes: 69 33.0%
  • I never change the food that I feed to the tank.

    Votes: 19 9.1%
  • Other.

    Votes: 4 1.9%
Back
Top