Cargando…

C programming for the PIC microcontroller : demystify coding with embedded programming /

Go beyond the jigsaw approach of just using blocks of code you don't understand and become a programmer who really understands how your code works. Starting with the fundamentals on C programming, this book walks you through where the C language fits with microcontrollers. Next, you'll see...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ward, Hubert Henry
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Berkeley, CA : Apress L.P., ©2020.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 a 4500
001 KNOVEL_on1132419880
003 OCoLC
005 20231027140348.0
006 m o d
007 cr cnu---unuuu
008 191221s2020 cau o 001 0 eng d
040 |a EBLCP  |b eng  |e pn  |c EBLCP  |d TEFOD  |d GW5XE  |d YDX  |d OCLCF  |d ESU  |d OCLCQ  |d LQU  |d UPM  |d VT2  |d OCLCQ  |d UKMGB  |d COO  |d OCLCQ  |d OCLCO  |d COM  |d OCLCQ  |d OCLCO 
015 |a GBC066369  |2 bnb 
016 7 |a 019645428  |2 Uk 
019 |a 1132284602  |a 1137829654  |a 1152978688 
020 |a 9781484255254  |q (electronic bk.) 
020 |a 1484255259  |q (electronic bk.) 
020 |a 9781484255261  |q (print) 
020 |a 1484255267 
020 |z 9781484255247  |q (print) 
020 |z 1484255240 
024 7 |a 10.1007/978-1-4842-5525-4  |2 doi 
024 8 |a 10.1007/978-1-4842-5 
029 1 |a AU@  |b 000066462755 
029 1 |a UKMGB  |b 019645428 
035 |a (OCoLC)1132419880  |z (OCoLC)1132284602  |z (OCoLC)1137829654  |z (OCoLC)1152978688 
037 |a 81D17C6D-4FF3-44E7-ACC2-DA95C1C60A5E  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a TJ223.M53 
072 7 |a UK  |2 bicssc 
072 7 |a COM067000  |2 bisacsh 
072 7 |a UK  |2 thema 
082 0 4 |a 006.2/2  |2 23 
049 |a UAMI 
100 1 |a Ward, Hubert Henry. 
245 1 0 |a C programming for the PIC microcontroller :  |b demystify coding with embedded programming /  |c Hubert Henry Ward. 
260 |a Berkeley, CA :  |b Apress L.P.,  |c ©2020. 
300 |a 1 online resource (282 pages) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
347 |b PDF 
588 0 |a Print version record. 
505 0 |a Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Introduction -- Chapter 1: Introduction -- Programmable Industrial Controllers -- Programming Languages -- Machine Code -- Assembler Language -- C Programming Language -- Different Programming Languages -- The IDE -- Summary -- Chapter 2: Our First Program -- The PORTS of the PIC -- Good Programming Practice -- The Algorithm -- The Flowchart -- The Program Listing -- Using MPLABX IDE -- Creating the Project in MPLABX -- The First Program Turning On and Off an Output -- The Main Aspects of a 'C' Program 
505 8 |a The Comments and PIC Configuration -- The TRISA and TRISB -- A TRIS Example -- Exercise 2-1 -- Setting the PORTS -- The ADC (Analogue to Digital Converter) -- Setting Up the Oscillator -- Exercise 2-2 -- Waiting for an Input -- Waiting to Turn the LED Off -- Exercise 2-3 -- Comments -- Testing the Program -- Compiling and Running the Program -- Testing the Program Practically -- Summary -- Exercise Answers -- Chapter 3: Updating the Program -- If This Then Do That -- Saving the Old Program -- Labels and the Goto Instruction -- Exercise 3-1 -- While vs. If Then -- Slowing the Micro Down 
505 8 |a T0CON Register -- Adding a One-Second Delay -- Exercise 3-2 -- Delaying the Turn Off -- Using Subroutines -- Defining and Calling a Subroutine -- The delay Subroutine -- Calling the Subroutine from Within the Main Program -- The Variable Delay and the For Do Loop -- Local and Global Variables and Data Types -- Type Char -- Type Unsigned char -- Type int -- Local Variables -- Global Variables -- Exercise 3-3 -- Summary -- Exercise Answers -- Chapter 4: Applying What We've Learned -- Controlling a Single Set of Traffic Lights -- The Algorithm -- The Configuration Words 
505 8 |a The Analysis of the Program -- Downloading the Program to a Prototype Board -- Extending the Program to the Crossroads Traffic Lights -- The Algorithm -- The Program Analysis -- Summary -- Chapter 5: Real-World Inputs -- Using Analogue Inputs -- The ADCON0 Control Register -- The ADCON1 Register -- The ADCON2 Register -- Creating the Required Acquisition Time -- Example 1 -- Example 2 -- Changing the ADC Input Channels -- A Basic Setup for the ADC -- A Basic Program for the ADC -- The Algorithm -- Analysis of the Program -- Summary -- Chapter 6: Using the LCD -- The LCD Controller 
505 8 |a Instruction or Command Mode -- Data Mode -- Initializing the LCD -- The Subroutine lcdOut () -- The Subroutine sendInfo () -- The New Aspects to PIC Programming in This LCD Program -- Arrays -- Using Pointers -- Connecting the LCD in 8-Bit Mode -- The Volt Meter Program -- The Algorithm -- The New Aspects of the Program -- The gohome Subroutine -- The sysVoltage Subroutine -- The displayVoltage Subroutine -- Changing the Main Part of the Program -- Creating Special Characters on the LCD -- Summary -- Chapter 7: Creating a Header File -- Header Files -- Creating a Header File 
500 |a Includes the Header File into Your Program 
500 |a Includes index. 
520 |a Go beyond the jigsaw approach of just using blocks of code you don't understand and become a programmer who really understands how your code works. Starting with the fundamentals on C programming, this book walks you through where the C language fits with microcontrollers. Next, you'll see how to use the industrial IDE, create and simulate a project, and download your program to an actual PIC microcontroller. You'll then advance into the main process of a C program and explore in depth the most common commands applied to a PIC microcontroller and see how to use the range of control registers inside the PIC. With C Programming for the PIC Microcontroller as your guide, you'll become a better programmer who can truly say they have written and understand the code they use. You will: Use the freely available MPLAX software Build a project and write a program using inputs from switches Create a variable delay with the oscillator source Measure real-world signals using pressure, temperature, and speed inputs Incorporate LCD screens into your projects Apply what you've learned into a simple embedded program. 
590 |a Knovel  |b ACADEMIC - Computer Hardware Engineering 
590 |a Knovel  |b ACADEMIC - Software Engineering 
650 0 |a PIC microcontrollers. 
650 0 |a C (Computer program language) 
650 6 |a C (Langage de programmation) 
650 7 |a C (Computer program language)  |2 fast 
650 7 |a PIC microcontrollers  |2 fast 
776 0 8 |i Print version:  |a Ward, Hubert Henry.  |t C Programming for the PIC Microcontroller : Demystify Coding with Embedded Programming.  |d Berkeley, CA : Apress L.P., ©2019  |z 9781484255247 
856 4 0 |u https://appknovel.uam.elogim.com/kn/resources/kpCPPICMDI/toc  |z Texto completo 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL5995817 
938 |a YBP Library Services  |b YANK  |n 16591569 
994 |a 92  |b IZTAP