© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. H. WardProgramming Arduino Projects with the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-7230-5_2

2. Programming Basics

Hubert Henry Ward1  
(1)
Leigh, UK
 
This chapter covers the following main topics:
  • A standard approach to writing a program

  • How to create a source file within a project

  • How to use the header file into source file

  • How to set up different types of oscillators

  • How PIC communicates with the outside world using PORTS

  • How to use TRIS registers to set the PORTS

  • The main aspects of a ‘C’ program

  • How to download a program to a development board

It also looks at how you might build your own development board and use ICSP (in-circuit serial programming). ...

Get Programming Arduino Projects with the PIC Microcontroller: A Line-by-Line Code Analysis and Complete Reference Guide for Embedded Programming in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.