-
1Step 1
Open the MCU pin setup tool page, and select the module you would like to create your project for.
-
2Step 2
With the help of the peripheral list on the side, setup the pin layout for the project.
-
3Step 3
By changing to code view you can check also the generated code. Download the whole code with the button on the top.
-
4Step 4
Create a new project in your favourite IDE, add the generated code to it, and include the "mps.h" in your main file.
-
5Step 5
Call the MPS initialization function, it will automatically set up the peripherals for you. After this, you can still make manual changes in run-time if you like.
-
6Step 6
Using the layout view of the MCU pin setup tool as a guide, do the hardware setup.
-
7Step 7
Compile the code and flash it. Enjoy your project!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.