RB0 / INT TRISB.0 configuration


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: RB0 / INT TRISB.0 configuration

    it hardly seems likely to be a good idea to try and drive a pin high or low when its set to be an output . if you want an external interrupt the chosen pin must be an input

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


    Did you find this post helpful? Yes | No

    Default Re: RB0 / INT TRISB.0 configuration

    Name:  Untitled.png
Views: 541
Size:  50.5 KB
    Even though the data sheet says POR is input I ALWAYS set in code.
    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.

Similar Threads

  1. TRISA, TRISB setting ?
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th January 2011, 20:32
  2. Using both hardware int and Timer Int together?
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th January 2010, 01:09
  3. Replies: 6
    Last Post: - 10th September 2008, 10:04
  4. INTCON (RB0/INT) and TRISB
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th September 2006, 20:38
  5. I would like to make some code tmr0 and int(RB0) interrupt
    By chai98a in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 17th February 2006, 00:06

Members who have read this thread : 1

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