Sei sulla pagina 1di 2

POLYTECHNIC UNIVERSITY OF THE PHILIPPINES

COMPUTER ENGINEERING DEPARTMENT

COEN3234 INDIVIDUAL REPORT


EXPERIMENT NO 5. NAME: VILLA MAY ANN N. SECTION: BSCOE 5-4 DATE PERFORMED: AUG. 15, 2013 DATE SUBMITTED: SEPT. 5 2013_ PROFESSOR: ENGR. ROLITO L. MAHAGUAY

Format & Format & Presentation (20%): _____ Presentation (20%): _____ Timeliness (5%): _____ Timeliness (5%): Correctness (30%): _____ _____ Correctness (30%): _____ Summary & Summary & (40%): _____ Conclusion Conclusion (40%): _____ Machine Code (5%): _____ Machine Code (5%): _____

SUMMARY:

FINAL FINAL SCORE: SCORE:

PIC is widely used in different applications and it is known as the most popular 8-bit chip in the world. While the C language is known for its efficiency in the programming areas. C language offers unmatched power and flexibility in programming microcontrollers. Thus, using C language in encoding microcontrollers makes an application more effective and efficient. As a result, Micro C offers this kind of functions which adds even more power with an array of libraries, modules and communications. In this experiment, we familiarized ourselves to the integrated development environment of the Micro C. The step by step procedure is as follows: First, we click the Project Wizard then choose the New Project icon. Then we set up the project and the Project Wizard dialog appeared and we filled out the dialog with appropriate settings for our project. We enter the name for our new project, then choose the project path, then enter short text which describes our project, then choose the microcontroller from drop-down menu, we set the device clock to 4 MHz by entering the value in edit box, then set configuration bits by clicking default. After we have set up the project we wrote the code for the sample program that will make LEDs on PORTB blink every second. Next, we have created a program in mikroC that will display the numbers 0 to 9 in a seven-segment display with 500ms second delay for the interval. At the end of the experiment we are able to grasp the relevance of C language in programming PIC and able as well to understand the advantages of using this language to have a more functional microcontrollers.

CONCLUSION: There are many different ways of programming microcontrollers and the question that needs to take into consideration would be on what to choose among those possible ways. Micro C is an IDE that allows the programmer to develop and deploy complex applications such as writing C source code using the highly advanced Code Editor, can also use its included libraries to dramatically speed up the development such as data acquisition, memory, displays, conversions and communications. As well as monitor your program structure, variables, and functions in the Code Explorer. Plus, it generates commented, human-readable assembly, and standard HEX compatible with all programmers. Also inspects program flow and debug executable logic with the integrated Debugger. And get detailed reports and graphs on code statistics, assembly listing and calling tree. Accordingly, having stated above Micro Cs characteristics then we can justify that Micro C is suitable and appropriate in programming microcontrollers.

Final Report

Page 1 of 1

Final Report

Page 2 of 1

Potrebbero piacerti anche