How do I poll the register of another device?


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    52

    Default How do I poll the register of another device?

    The datasheet of the MT8888 DTMF transceiver says to read the status register and if bit one is set, do the next step. The datasheet says to send b7, b6 and b5 as %110. Do I make portb = %11000000? On the next statement do I say "If portb.1 = 1 then next step"? I'm kind of stuck and any enlightenment would sure help.

    Thanks, Don

    While thinking about it more, Can I send %11000000 on portb, then "Trisb = $1111111" then do the If Then statement to check if b1 is set?
    Last edited by dbachman; - 14th December 2008 at 23:09.

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 20:31
  3. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  4. MX7705 or AD7705 experience
    By FM11 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th January 2006, 21:54
  5. @ Device Parameters
    By Randy_Suwanee in forum General
    Replies: 2
    Last Post: - 11th August 2004, 14:40

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