top of page
PyLegoMario.png

The legomario python package is a python3 package that allows you to connect A LEGO Mario or Luigi figure to your computer and receive inputs from its colour sensor and accelerometer. The original script was written by Bruno Hautzenberger and you can find it here. The only real difference is that I have made it into a package and tidied up the code a bit, added some example scripts, and I added a couple of parameters to help make it work better but other than that there isn't too much of a difference.

bottom of page