Generate MCC Driver Step 7 - Click on the Generate Code button to have the MCC create the software libraries for this project. Step 8 - The project will now have both generated Header Files and Source Files. It should also have a generated main.c file. Double click on the main.c file to open it up in the editor window.