16F877A

Discussion in 'Programmer's Corner' started by summeranson, Feb 19, 2009.

  1. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    hi i am new in pic programming..
    i am facing problem to program my pic to connect to port a port b n so on..
    by the way how does #fuse n so on helps in my programming..
    i have read through the manual but i just couldnt understand what it is teaching..
    i will also need to connect rs232 to a max 232 chip then my port c port d will connect to 1 unit of 7 segments wit each port.

    any expert here to help??
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    What language are you using for programming and which compiler?

    First, try to make a simple program like a few leds flashing to become familiar with a microcontroller and then make the hard things.
     
  3. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    c programming.. with ccs c compiler
     
  4. summeranson

    Thread Starter Member

    Feb 12, 2009
    28
    0
    hi mik3 can you show me an example of how to set those trisa trisb and then how to read and write to port a port b with interface with rs232 to pc? say i type x and if it is x then counter + 1.
     
  5. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
Loading...