kopia lustrzana https://github.com/pimoroni/pimoroni-pico
b548d67609 | ||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
motorshim_dual_motors.cmake | ||
motorshim_dual_motors.cpp | ||
motorshim_motor_song.cmake | ||
motorshim_motor_song.cpp | ||
motorshim_movements.cmake | ||
motorshim_movements.cpp | ||
motorshim_single_motor.cmake | ||
motorshim_single_motor.cpp |
README.md
Pico Motor Shim C++ Examples
Examples
Single Motor
Demonstrates how to create a Motor object and control it.
Dual Motors
Demonstrates how to create two Motor objects and control them together.
Movements
An example of how to perform simple movements of a 2-wheeled driving robot.
Motor Song
A fun example of how to change a motor's frequency to have it play a song.