pimoroni-pico/examples/pico_motor_shim
ZodiusInfuser d5468b9616 Removed old balance demo 2022-05-12 16:54:27 +01:00
..
CMakeLists.txt Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
README.md Added MP encoder examples 2022-05-12 14:45:20 +01:00
motorshim_dual_motors.cmake Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_dual_motors.cpp Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_motor_song.cmake Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_motor_song.cpp Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_movements.cmake Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_movements.cpp Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_single_motor.cmake Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
motorshim_single_motor.cpp Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00

README.md

Pico Motor Shim C++ Examples

Examples

Single Motor

motorshim_single_motor.cpp

Demonstrates how to create a Motor object and control it.

Dual Motors

motorshim_dual_motors.cpp

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

Movements

motorshim_movements.cpp

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

Motor Song

motorshim_motor_song.cpp

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