3.5 2-CLCs Solution Configuration in MPLAB
This section describes how the example project is created and configured in MPLAB for the 2-CLCs solution. Refer to the block diagram in Figure 2-1 for the configuration.
In MPLAB X IDE, create a new project with PIC18 as the selected Device Family and PIC18F45Q10 as the Device. Select Hardware Tools as Curiosity in Microchip Starter Kits. Select Compiler as XC8 (v2.0 was used).
When the project is created, click on the MCC logo on the top menu bar for code configuration. As described, one timer and four CLCs will be used on two debouncing inputs. On the left side, double-click TMR6, CLC1, CLC2, CLC3, and CLC4 from the Device Resources section to add them to Project Resource section.