- Download MPLab X IDE
- Open MPLab X IDE, and if you don't have a compiler, close it. Otherwise, select your compiler.
- Download a c compiler from here. Since the PIC24 is a 16-bit board, install the XC16 compiler. Documentation for included libraries can be found here
- Open the compiler image and follow the setup instructions for MPLab XC Compiler.
- Once the compiler is finished installing, open MPLab X IDE again - if got a prompt earlier about not having a compiler, you shouldn't get that anymore
- Create a new project, selecting "Standalone project" and the PIC24FJ128GA204 mpu. Then choose the correct compiler (it should eliminate wrong selections for you)
- Create a source file in the "Source files" folder called
main
- Select the "Make and Program Device Main Program" button, and select the startup tool to flash / debug.
Last active
February 7, 2022 03:49
-
-
Save seanboe/51d858a7448a8bb1829198b4904780d3 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment