GPIO control commands using terminal
1) (gpio readall) using this command you can read the stratus of gpio pin status
2)(gpio -g mode 22 out)this command helps to on the gpio pin
(gpio -g mode 22 in)this command helps to off the gpio pin
where 22 is number of gpio pin you can change the pin number which you want to control
3)below given picture will help to find and analyse gpio pins
2)(gpio -g mode 22 out)this command helps to on the gpio pin
(gpio -g mode 22 in)this command helps to off the gpio pin
where 22 is number of gpio pin you can change the pin number which you want to control
3)below given picture will help to find and analyse gpio pins
Comments
Post a Comment