[SOLVED] PIC 16f876a circuit diagram and 1st program not working

Status
Not open for further replies.
sir i have attached project file as followsand i am using
MPLAB X IDE
xc compiler
controller 16f876a

- - - Updated - - -

after building i am expoting hex file to JDM .

- - - Updated - - -

and configuration bits in jdm was as
 

Attachments

  • T1.rar
    91.1 KB · Views: 38

sir post the includeed delay file . file is missing in rar file.
 

It comes with XC8 compiler. use <> to include it and not " ". If you copy delays.h file from compiler folder to project folder then use " " in include directive.
 
Reactions: embpic

    embpic

    Points: 2
    Helpful Answer Positive Rating
sir it gives error as
Code:
main.c:3: error: can't open include file "delays.h": No such file or directory

- - - Updated - - -

sir now instead of giving 2.14v now it giving 0.64v

- - - Updated - - -

yes worked it but not any ones fault except controller. because controller was get off. but how's the program was getting burn and detect the controller i had placed.
is it like that even if controller is not working then also program get burn and it programmer recognize it?
 

PICpgm software screen shot i have uploaded as follows
 

Attachments

  • picpgm_screen.rar
    389.2 KB · Views: 37

In the options tab check "Program Configuration Bits" then write and post screenshot of Config Mem and Config Bits tabs. Also reply working of hardware.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…