In this chapter, we will look at seven-segment displays and learn what they are and how they work. We will write a program to control the display on a single seven-segment display and then move on to a program to control a collection of four seven-segment displays. We will learn about the timers in a PIC and how to use them to create a variable delay. We will then move on to look at a simple stepper motor and write a program to drive it clockwise and anticlockwise. ...
3. The Seven-Segment Display and the Stepper Motor
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.