About the Technical Reviewer
Chapter 1: Introducing MPLABX
MPLABX: The IDE from Microchip
Creating a Project in MPLABX
Changing the Fonts and Colors
The PIC16F88 and the PIC8F4525
Chapter 2: Programming Basics
Good Programming Practice
Program 2.1: Turning On and Off an LED
Algorithm for Program 2.1
Flowchart for Program 2.1
The PIC16F88 Development Board
Chapter 3: The Seven-Segment Display and the Stepper Motor
Program 3.1: Controlling a Seven-Segment Display
Common Anode Seven-Segment Display
Common Cathode Seven-Segment Display
Arrangement for a Common Anode Seven-Segment Display
Controlling the Display with the PIC
Seven-Segment Display Program
Algorithm for Program 3.1
Flowchart for Program 3.1
Program Listing for the Common Cathode Seven-Segment Display
Program 3.2: 3461BS Common Anode Four Seven-Segment Display Module
Chapter 4: The Joystick and the Stepper Motor
The Principal Operation of the Joystick
The ADCON0 Control Register
Example 1: Creating the Required Acquisition Time
Changing the ADC Input Channels
Left or Right Justification
Instruction or Command Mode
The Control Pins of the LCD
Accessing Data in the Array
Joystick and Stepper Motor
Homemade Prototype Board for the PIC18F4525
The Speed of the Simple DC Motor
Creating a Square Wave with the PWM Mode
Creating a 1kHz Square Wave
The Mark Time or Duty Cycle
The Variable-Speed DC Motor Program
A Two-Directional DC Motor Program
Using the L293D Driver IC
Controlling a Two-Wheel Drive System
Controlling a Servo Motor
Chapter 6: Ultrasonic Distance, and Humidity and Temperature Sensors
Using the Ultrasonic Sensor
The Basic Principle of Operation
The Principal Operation of the Program
The DHT11 Humidity and Temperature Sensor
Communicating with the DHT11