© 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_9

9. Communication

Hubert Henry Ward1  
(1)
Leigh, UK
 

In this chapter, we will look at the MSSP (master synchronous serial port) of the 18F4525 PIC. We will concentrate on the SPI (serial peripheral interface ). We will learn how it works and then use it to interface with the TC72 temperature sensor from microchip.

We will learn how the TC72 formats negative temperatures and how we can manipulate binary numbers using 2’s complement to read negative temperatures.

We will look at two methods for displaying binary values on the LCD, one of which will be using ...

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.