Today 19:42
Forum: Website / Forum Issues
Starter: Lester
Views: 0
Replies: 14
Today 19:35
Forum: Proton Plus Compiler v3
Starter: Henk57
Views: 0
Replies: 7
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member davroski's Avatar
    Join Date
    Sep 2004
    Posts
    42
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    225.14 MB

    0 Not allowed!

    Default 16F627 - How do I enable pull-ups on PORTB?

    Hi,
    Data sheet says OPTION register bit 7 (RBPU) should be set to 0 but compiler 3.5.9.9 doesn't seem to recognise OPTION.7 = 0 or RBPU = 0
    Thanks
    Dave

  2. #2
    Junior Member davroski's Avatar
    Join Date
    Sep 2004
    Posts
    42
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    225.14 MB

    0 Not allowed!

    Default Re: 16F627 - How do I enable pull-ups on PORTB?

    • Declare PortB_Pullups = On doh! <sorry>




  3. #3
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,360
    Thumbs Up
    Received: 49
    Given: 124
    Total Downloaded
    2.37 GB

    0 Not allowed!

    Default Re: 16F627 - How do I enable pull-ups on PORTB?

    For future ref. assuming you meant 16F627A (if uChip went as far a releasing an A version you can assume the original is so buggy it's next to useless) Proton calls the reg OPTION_REG in line with the datasheet.
    George

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. 18F14K22 Weak Pull Ups
    By daneduplooy in forum Proton Plus Compiler v3
    Replies: 14
    Last Post: 11th December 2013, 20:45
  2. PORTB PULL UPS ON 16F690 not working
    By bravo in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 16th August 2012, 14:11
  3. PIC pull-ups can't be trusted!
    By HelpMe! in forum The Lounge
    Replies: 16
    Last Post: 31st May 2009, 09:45
  4. Electrical Question (pull ups from 12v)
    By Psymiley in forum The Lounge
    Replies: 13
    Last Post: 1st September 2006, 19:41
  5. [SOLVED !] Weak pull-ups
    By rackley in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 8th March 2005, 21:32

Members who have read this thread : 26

Actions :  (Set Date)

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

Tags for this Thread

Posting Permissions

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