User Guide
Table Of Contents
Installation and Operation
2021
Microchip Technology Inc. and its subsidiaries
DS50003218A-page 17
k) Navigate to the project folder, then select the DAC_SAMPLE.c file and click the
Select button.
FIGURE 2-10: ADD A SOURCE FILE
l) This will add the code contained within the DAC_SAMPLE.c file to the source
code, as shown in the following figure.
FIGURE 2-11: ADD A SOURCE FILE
m) Copy and paste the demo code to the DAC_SAMPLE.c file (make sure the code
and comments are copied correctly). Connect the micro-USB cable to the
micro-USB header on the left side of the Curiosity HPC Board using a micro-USB
cable to provide power to the board. Press the icon shown in the following figure
to compile and program the code.
FIGURE 2-12: COMPILE AND PROGRAM THE CODE