Select Run à Start Debugger from the menu bar.To carry out simulation, the required steps are given below: The above mentioned program is then simulated to ensure its proper working. On successful completion of the Building process, a message would appear in the ‘Message’ window at the bottom of the screen, indicating that the code has been compiled without any errors and the hex file is ready.Here we have a two liner code where all pins of portC are set to high. Write the code and press BUILD from the horizontal toolbar at the top. This is where you have to write your program. TheCode Editor Window will be displayed with “void main ()” written in the first line. Press Next, without making any changes, on both the windows and then press Finish to end the wizard. Step2 allow you to add a file to the project while step3 lets you to include all or selective libraries.Specify a unique name for the project, select the device name as PIC16F877A and browse the project folder this is where the hex file will be saved.Choose the device clock as per the one used in design and then press Next. ![]() ![]() ![]() Click next to reach to the ‘Project Settings’ window. A New Project Wizard window will appear.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |