Professional Documents
Culture Documents
MOST MERCIFUL
CCS PIC “C”
COMPILER TUTORIAL
• Basic Tutorial
• Pic wizard
• Pic Device Selector
• Fuses and Interrupts list
• Serial Port Moniter
Note : “Basic Tutorial” (for Beginners) is sufficient for creating and compiling
the complete project. Next topics (Pic wizard & onwards) describe the extra
utilities provided by the compiler that make some tasks easier.
MAIN LOOP
USE OF THESE SMALL TIPS MAKES THE CODE MORE READABLE AND EASIER TO DEBUG
CLICK (2)
s this is a small program and it is not consuming much Ram/Rom of “16F628A” so, 16
TS (ALTHOUGH THERE ARE SOME COMMENTS LINES). DUE TO THIS REASON NOWADAYS u-CONTROL
SOURCE FILE
HEX FILE
CLICK (2)
FEATURES WINDOW
SELECT DEVICE
TIMER 2 DISABLED
TIMER 1 DISABLED
TIMER 1 SETTINGS
R SETTINGS GENERATES A CODE THAT WILL BE ADDED TO SOURCE FILE AT THE END OF WIZAR
SELECT INTERRUPTS
CLICK (2)
SELECTED DEVICES ALL HAVE USB PORT AND THEY BELONG TO PIC 14-16 BIT
COLLEGE OF AERONAUTICAL ENGEENERING CAE
Min. 256 Byte RAM AND 8 KB ROM (8192 Bytes) IS REQUIRED
ANOTHER REQUIREMENT IS OF 8-12 A/D CONVERTERS ALL THESE CHIPS SHOWN FULFILL
CLICK (1)
CLICK (2)
FOR FUSES DETAIL REFER TO BOOK “PROGRAMMING 8 BIT PIC u-CONTROLLER ” M. P Bates (
CLICK (2)
BAUD RATE