Voltage issue 16f627a


Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Voltage issue 16f627a

    Nah, it won't change anything, HIGH/LOW work as expected. HOWEVER, when you write to consecutive pin, you may want to Write to the whole port, or use a Shadow register. This is to avoid the R-M-W issue.

    PORTB=%11000000

    or

    ShadowRegister VAR BYTE
    '
    '
    ' some code here
    '
    ShadowRegister.7=1
    ShadowRegister.6=1
    'etc etc
    PORTB=SHadowRegister

    Also, make sure all your config fuses are properly set, LVP_OFF, MCLR_OFF (assuming your don't use MCLR pin), OSC (INT or XT, whatever)
    Last edited by mister_e; - 12th June 2011 at 11:21.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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