pimoroni-pico/micropython/examples/pico_motor_shim
ZodiusInfuser 0c88f7892b Added MP encoder examples 2022-05-12 14:45:20 +01:00
..
README.md Added MP encoder examples 2022-05-12 14:45:20 +01:00
dual_motors.py Added MP examples for pico motor shim, and tweaked others 2022-05-10 18:36:44 +01:00
motor_song.py Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
movements.py Added MP examples for pico motor shim, and tweaked others 2022-05-10 18:36:44 +01:00
single_motor.py Added MP examples for pico motor shim, and tweaked others 2022-05-10 18:36:44 +01:00
stop_motors.py Added MP examples for pico motor shim, and tweaked others 2022-05-10 18:36:44 +01:00

README.md

Pico Motor Shim MicroPython Examples

Examples

Single Motor

single_motor.py

Demonstrates how to create a Motor object and control it.

Dual Motors

dual_motors.py

Demonstrates how to create two Motor objects and control them together.

Movements

movements.py

An example of how to perform simple movements of a 2-wheeled driving robot.

Motor Song

motor_song.py

A fun example of how to change a motor's frequency to have it play a song.

Stop Motors

stop_motors.py

A simple program that stops the motors.