Software

Create a New Library Project

  1. 1.Create a new project by selecting New Project from the Project menu, which will open the Project Wizard.
    Figure 1. New XC8 Library Project


  2. 2.Select C/C++XC8 C Library Project as a template, specify a project name, select a location, and provide a solution name. A source file with an empty myfunc() function will be added to the project by default. Press OK to proceed.
  3. 3.A device selection dialog will appear. Choose the appropriate target device for your project.
    Figure 2. Device Selection Dialog


  4. 4.Click OK to create the XC8 C Library project.
  5. 5.Right click on the project node and select ‘Build’ to build the project.