This site provides tutorials and open source resources that can help making native programs written in C and C++ for the LEGO Mindstorms EV3 kit. The instructions do not require making any changes in the firmware that comes with the EV3 brick.
PLEASE BE AWARE THAT ALL THE CODE PROVIDED IN THIS WEB SITE IS EXPERIMENTAL, USE IT AT YOUR OWN RISK!
I recommend starting in the “Programming Basis” section and master all the steps shown in these sections for compiling, uploading and running programs, as they will be used often. I also describe how to interact with the various parts of the hardware. More experienced users may visit the “Applications” section that provides full working examples that integrate sensors and actuators in robotic applications. It also introduces concepts of system integration, localization and control.
- Added code for making a LEGO robot play Tic-Tac-Toe against a user
- Added some instructions of how to reset the Microinfinity gyro using a program
This site is not connected to or endorsed by The LEGO Group. LEGO, Mindstorms are trademarks of The LEGO Group.