LED 7 Segment Clock

Discussion in 'Embedded Systems and Microcontrollers' started by RRITESH KAKKAR, Jun 29, 2015.

  1. RRITESH KAKKAR

    Thread Starter Senior Member

    Jun 29, 2010
    2,831
    89
    Hello,
    I need some help how to update the time in led clock using ds1307 with Pic micro in Hi tech C compiler ?
    the array from switch?
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    To set the time, you have the SPI bus master write to the addresses specified in the DS1306 datasheet according to the Hi-Tech C manual.
     
  3. RRITESH KAKKAR

    Thread Starter Senior Member

    Jun 29, 2010
    2,831
    89
    But it work on I2C
     
  4. RRITESH KAKKAR

    Thread Starter Senior Member

    Jun 29, 2010
    2,831
    89
    i need help in updating array when micro switch is pressed.
     
  5. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Yes, my mistake. Please do exactly the same, but with the DS1307 datasheet and use I2C.
     
Loading...