PIC Programming
The PIC application development system consists of a source code editor, assembler program to convert it to machine code, simulator to test it in software and a downloading utility to transfer the machine code to the MCU. The source code is written using the instruction mnemonics provided in the instruction set and saved as a text file. A configuration code is needed at the top of the user program to initialise the MCU clock type, start-up timers, reset options and memory protection. Assembler directives are used to improve the effectiveness of the programming method, but are not translated into machine code. A suitable program design technique is useful in creating the overall program structure. ‘C“ programming is more ...
Get Interfacing PIC Microcontrollers, 2nd Edition 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.