while opening MPLAB we will get this window.
From project select project wizard.
Like this you can write your program. After writing the program you can check the program for error by using build button in toolbar.
From project select project wizard.
Click next and select the device that you want.Here i am using pic16f877a.
Click next . Then select Hitech-c compiler.
Then select next and name your project by browsing.
Then click next.
Next.
Then click finish.
After finish you will get this window . Then create a new file .
Then save the new file with an extension *.c
Right click on source file in .mcw window ,Select add file and add the corresponding .c file that you saved. Here i am saved as sample.c that's why i am adding sample.c file as source fileLike this you can write your program. After writing the program you can check the program for error by using build button in toolbar.
If your program is correct you will get this winow
Thank you,
No comments:
Post a Comment