the other gpio pins
Forums:
I have two picoborg reverse connected with the pi ( and working !)
What can i do with the others pins on the pi board:
Example 1
I want a led on pin 7 setting high when a motor is working and when the motor is off, the pin is low. Is that possible ? Or is there an other solution
piborg
Fri, 01/08/2016 - 17:15
Permalink
Other GPIO pins
You can write some Python code to do that, there would be two ways to do this.
Method 1
Make your own functions which set the GPIO pin and the motor.
For example:
Method 2
Make a script which looks at the motor speeds and sets the GPIO pins as needed
For example: