can any one help me in programming PIC 16f84A

Status
Not open for further replies.

Elektor

New Member
i am new to pic programming.I am using noppp to program pic 16f84 and want to use all porta pins as input pins.But so far i didnot get suceeded.
I am designing a logic based device with it.
 
inport to pic

i have tried "flashing LED program and suceeded.I also suceeded in making binary counter via pic but failed to give input to pic using LDR (voltage divider with transistor as a switch)
can any one send me a simple program with one or more pin used as input.
 
Re: inport to pic


Check my tutorials!.

The 16F628 used is the replacement for the old 16F84, any changes required are EXTREMELY minimal.
 
Try this, it's for 16F84A @ 4Mhz, noWDT noCP XTosc.
8 LEDs are connected to PortB, active High, 4 switches are connected to PortA 0 -3 , active High.

Pressing the switches starts different LED patterns.
 

Attachments

  • pic_tester_16f84a.asm.txt
    3.2 KB · Views: 221
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…