책 이미지
eBook 미리보기
책 정보
· 제목 : C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming (Paperback) 
· 분류 : 외국도서 > 컴퓨터 > 하드웨어 > 일반
· ISBN : 9781484255247
· 쪽수 : 271쪽
· 출판일 : 2019-12-10
· 분류 : 외국도서 > 컴퓨터 > 하드웨어 > 일반
· ISBN : 9781484255247
· 쪽수 : 271쪽
· 출판일 : 2019-12-10
목차
Chapter 1: Introduction
This chapter introduces the reader to the aims and objectives of the book. It then covers some of the fundamentals of what is a micro-processor based system and how a micro-controller is different. It then covers the historic development of the ‘C’ programming language for PIC controllers.
Chapter 2: Our First Program
This chapter covers the following:
- Process of creating a project in MPLABX and
- Writing a simple ‘C’ program and adding comments to the instructions.
- It explain what the configuration words for the PIC are and how to set them.
- It explains what the PORTS are and how we use the TRIS registers to set the PORTS. It covers what are the main aspects of a ‘C’ program.
- It covers how to set the internal oscillator.
- Simulating a basic program within the IDE and simulating the program with a suitable ECAD software.
After reading this chapter you should be able to create a project and write a program that uses inputs from switches and turns on outputs.
Chapter 3: Updating the Program
In this chapter we will cover the “IF Then Else” instructions and saving the old program.
Chapter 4: Creating a Delay
In this chapter we will one of the most fundamental aspects of any micro-processor based system. How to overcome the fact that micros go too fast. This chapter covers the following:- Controlling the Timer0
- Creating and calling subroutines
After reading this chapter you will be able to create a one second delay with any of the oscillator source and then create a variable delay. You will also learn how to create and use a subroutine
In this chapter we are going to apply what we have learnt in a simple program. It is probably the most common program that all new embedded programmers start with. It will take you through a structured approach to design programs.
After reading this chapter you will be able to program s simple model of a set of traffic lights.
Chapter 6: Real World Inputs
In this chapter we will look at using the PIC to measure real world signals such as signals from pressure, temperature and speed. It will cover the following:
- Using the three registers that control the ADC.
- Receiving an analogue input and displaying it as a binary value.
After reading this chapter you will be able to use analogue inputs.
Chapter 7: How to Use The Liquid Crystal Display
This chapter you should be able to use the LCD it covers the following;:
- How to set up the LCD
- How to display text on the LCD
- How to display numbers on the LCD
- How to use arrays and pointers
Chapter 8: Creating a Header File
This chapter covers how to create a header file. It then uses a header file in a program to control the LCD in 8 bit mode.저자소개
추천도서
분야의 베스트셀러 >















