warning: (1518) direct function call made with an incomplete prototype For example warning will be created for calling this code configurator generated function: Warning is created because code configurator code is incorrect, they have declared their (void) functions without including the “void” in the function definition brackets. This is not correct for a C function, […]
ADC Settings FRC Does your uC have a FRC to use as the clock source? Nice and simple if it does. FVR Does your uC have a FVR to use as the reference voltage? Useful if you want an accurate reference, but not useful it you want your analog readings referenced to the uC power […]
The Microchip videos are here To view the Code Configurator, press the blue ‘MCC’ button on the toolbar. Project resources panel – shows all of the existing things being setup by the code configurator. Adding a new peripheral to code configurator In the ‘Device Resources’ panel double click the peripheral to all. A page for it […]
Ensure you have added the peripheral you wan tto assign already from the ‘Device Resources’ panel. Select the ‘Pin Module’ in the ‘Project Resources’ panel. Select the function you want to assign to a pin from the ‘Module’ column. Assign it by clicking any blue unlocked padlock box.
Installing MPLAB Code Configurator Plugin Menu > Tools > Plugins > Avaialable Plugins > MPLAB Code Configurator > Install Adding to your project Create your MPLABX project as normal. Press the blue ‘MCC’ button on the toolbar to launch the code configurator. When prompted save the MyConfig.mc3 file to your project directory