Setting PortB.7 as output on 16F627/8/48


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Maine, USA
    Posts
    81


    Did you find this post helpful? Yes | No

    Default Dyslexics for Dog untie... ;)

    Geez,
    Forgive my confused last post. I was swapping things again. It's tough looking at the world through an upside down brain.

    SO I got in there with my test probes and I had also mis-read my PCB traces. It's actually PortB.1. Really! I checked 3 times this time.

    So is there some kind of register thing that I need to configure that as an output? It is the RX pin for hardware serial... is that a clue?

    Sorry for the confusion.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tekart View Post
    Geez,
    Forgive my confused last post. I was swapping things again. It's tough looking at the world through an upside down brain.

    SO I got in there with my test probes and I had also mis-read my PCB traces. It's actually PortB.1. Really! I checked 3 times this time.

    So is there some kind of register thing that I need to configure that as an output? It is the RX pin for hardware serial... is that a clue?

    Sorry for the confusion.
    Cold up there in MAINE, Brrrrrrrrrrrrr
    Upside down brain . . . Here in KaliForeignYa people have added dimensions to that, cause 80% of the folks here (at least those who drive) are looking out of their . . . Backsides. You're doing alright ! Use the portB.1 = 1, or PortB.1 = 0 and I am pretty sure it will work.
    Last edited by Archangel; - 28th January 2010 at 21:34.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Sep 2008
    Location
    Maine, USA
    Posts
    81


    Did you find this post helpful? Yes | No

    Default Got it - was bad chip

    Thanks for the ideas, I swapped out the chip and it works, musta blown the output drivers when poking around with test probes. My blinky is working, I'm a happy camper!

    Yeah, I'm a California ex pat. Today it's 32F and snowing, headed for 0F tonight. Mainah's have an expression: "If you don't like the weathah, wait 20 minutes".



    Guy

Similar Threads

  1. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 15:01
  2. Help changing CCP3 output pin
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th July 2008, 03:30
  3. Bit Banging input to output on PIC16F876A
    By Bronurstomp in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th June 2008, 20:50
  4. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 04:46
  5. HSEROUT Newbie question/problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th July 2006, 15:44

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