Updated Mk1 code example (markdown)
@@ -152,4 +152,6 @@ Stop again
|
|||||||
Cleanup our pins
|
Cleanup our pins
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
|
||||||
|
The library (once complete) will make this a lot simpler as we'll just have to set the mode and the speed for the motor without messing with pins, etc.
|
||||||
Reference in New Issue
Block a user