i/o programming for 16f84a

Discussion in 'Programmer's Corner' started by kavindu.balasuriya, Mar 16, 2011.

  1. kavindu.balasuriya

    Thread Starter New Member

    Mar 4, 2011
    5
    0
    I am new to PIC programming. I need to programming a IC like this.

    it has two inputs & two outputs.

    If there aren't input -no outputs.
    If there is a input -output 1 should be come.
    If there are both inputs -output 2 should be come.

    Pls help me.....
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    School assignment he he:cool:
    Remember then you ask questions in here. It is important to tell us what you have done so far, and why and how you struggle. Also a few few words about your setup like what kind of programming language you use and type of compiler. As we do not know ANY THING about your setup. Like you do.
     
  3. kavindu.balasuriya

    Thread Starter New Member

    Mar 4, 2011
    5
    0
    Hi,
    sorry for my mistake.I have a littel knoladge of assembly.I have just start PIC programming.so I don,t know How to start this. sorry for all.
     
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    No need to sorry. We have all been beginners some time. PICs can be confusing then starting from zero.
    Have you downloaded the data sheet and and MPLAB. MPLAB is 100% free and what kind of PIC programmer do you use?
     
  5. kavindu.balasuriya

    Thread Starter New Member

    Mar 4, 2011
    5
    0
     
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I may point you in the correct direction. But I never do others assignments on this forum.
    You should read this document. Then working in MPLAB ALWAYS use projects.
    http://ww1.microchip.com/downloads/en/DeviceDoc/51281d.pdf
    Take a look here
    http://forum.allaboutcircuits.com/showthread.php?t=44852
    Then try this site for a tutorial
    http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm
     
Loading...