DS1307 not running?


Results 1 to 19 of 19

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: DS1307 not running?

    not at all , the i2cread macro actually performs two functions when supplied with the "optional" address field
    I2CREAD DataPin, ClockPin, Control, {Address,} [Var{,Var...}]{,Label}
    when an address is supplied it writes " address " to the device and then sets bit0 of the control byte and performs the read('s)
    exactly as per your uploaded graphic from the data sheet.
    its simply a case of rtfm for pbp i2cread command and then to actually understand it.
    if you don't believe it get a logic analyser and see it for yourself

    PS I just found my old pbp2.60a manual ,the i2cread command for that version is exactly the same as for pbp3
    Last edited by richard; - 31st May 2014 at 07:32. Reason: found pbp2.60a printed manual (a collectors item ?)

Similar Threads

  1. Replies: 8
    Last Post: - 28th January 2014, 14:21
  2. using DS1307
    By Scampy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 2nd December 2013, 10:01
  3. 18F4550 not running
    By comwarrior in forum General
    Replies: 6
    Last Post: - 1st January 2011, 01:07
  4. Cant get my PIC running
    By Viberer in forum Off Topic
    Replies: 13
    Last Post: - 29th August 2008, 20:07

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