Today 18:09
Forum: Proton Plus Compiler v3
Starter: H-bert
Views: 2350
Replies: 36
Today 15:30
Forum: LCD module
Starter: Dompie
Views: 0
Replies: 0
Today 15:11
Forum: Proton Users File Server
Starter: Dompie
Views: 0
Replies: 0
Today 15:05
Forum: Proton Users File Server
Starter: Dompie
Views: 0
Replies: 0
Go to last post By: shantanu@india
Today 07:01
Forum: The Lounge
Starter: shantanu@india
Views: 0
Replies: 1
+ 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,292
    Thumbs Up
    Received: 47
    Given: 117
    Total Downloaded
    2.36 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, 19: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. Weak pull-ups
    By rackley in forum Proton Plus Compiler v3
    Replies: 3
    Last Post: 8th March 2005, 20:32

Members who have read this thread : 27

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