Problem with port A of 16f913


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Sep 2014
    Posts
    25


    Did you find this post helpful? Yes | No

    Default Re: Problem with port A of 16f913

    Actually iam new to microcontrollers.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Problem with port A of 16f913

    At these lines at the top of your code. You did not say if your are driving a LCD or LED display?

    Code:
    DEFINE OSC  4 ' or 8 etc
    
    CMCON0 =%00000111   'COMPARATOR OFF
    ADCON0 =%00000000   'ADC off
    
    'SET LCD REGISTERS
    LCDCON = 0 'LCD disabled
    
    LCDPS  = 0
    
    LCDSE0  = 0  'SEGMENTS 0-7 off
    LCDSE1  = 0  'SEGMENTS 8 -15 OFF
    LCDSE2  = 0  'SEGMENTS 16 - 23 OFF

Similar Threads

  1. Portc 16F913 problem
    By Andre_Pretorius in forum General
    Replies: 3
    Last Post: - 10th May 2012, 14:40
  2. 18F2520 - problem configuring fuse for port B as digital port.
    By hwhisperer in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th October 2010, 12:41
  3. 16F913 setup
    By Andre_Pretorius in forum General
    Replies: 31
    Last Post: - 18th April 2010, 00:45
  4. 16F913 RA7 Pin control problem
    By Wayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th February 2007, 02:53
  5. COM port problem
    By andys280176 in forum Serial
    Replies: 0
    Last Post: - 19th January 2006, 17:42

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts