Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

PygameRobot

Use Pygame to control a robot with your RaspberryPi.

I initially wrote this script to control a two-wheeled robot with realtime commands. Though using raw_input() is useful for many applications, it does not facilitate capturing realtime keyup and keydown events – this is where Pygame comes in handy. There are more advanced ways to do this without Pygame but they require knowledge of more advanced features like curses or getch().

This example is for a two-wheeled robot using a L298N motor driver.

Dependencies: Pygame sudo apt-get install python-pygame

About

Use Pygame to control a robot with your RaspberryPi

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages