RaspberryPi Projects DISCUSSION

Toggling GPIO pins

Started by syedzainnasir Toggling GPIO pins
0 replies 248 views 1 participants
Latest activity · 07 Mar 2017

Toggling GPIO pins

syedzainnasir RaspberryPi Projects Forum
#1
I have been looking everywhere and haven't found any code that'll just let me turn a GPIO pin on or off! I have the raspberry pi 2b, and I have a small fan plugged into GPIO pins 4 and 6. 4 is a power pin and 6 is a ground pin. I want to be able to turn my fan on and off in the command line, how would I do that?

Community replies 0

Be the first to help

There are no replies yet.

TEP COMMUNITY