Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 20

Analog Techniques

Abstract

This chapter explains how to work with analog voltages from a C program. The math involved with resolution, range, and accuracy is explained for all topics in this chapter.

Digital to analog converters (DACs) are explained with C examples. Analog audio formats for CD players and MP3 players are also explained. The digital communications interface (DCI) is briefly introduced. C code and all the considerations for analog to digital converters (ADC) are also covered in this chapter.

Many examples of filtering analog data are shown and explained. The use in C of the voltage reference, comparator, and voltage detect peripherals is included.

Examples and exercises are for the popular PIC® microcontroller manufactured ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144