Shop OBEX P1 Docs P2 Docs Learn Events
DS1904 (iButton RTC) Example? — Parallax Forums

DS1904 (iButton RTC) Example?

RajSWRajSW Posts: 2
edited 2005-12-25 20:59 in BASIC Stamp
Does anyone have an example of reading and writing the DS1904 (iButton RTC)?

I am just learning to use the 1-Wire protocol and this iButton has me a little confused. I donloaded and ran the "1WIRE-ID.BSP" program·from Dallas/Maxim IC's web site and it does run but the output was not what I expected...

"Dallas 1-Wire ID : 00 00 00 00 00 00 00 00"
Shouldn't it be some other hex digits besides zero's?

Thanks!
/*Raj*/
·

Comments

  • RajSWRajSW Posts: 2
    edited 2005-12-25 20:59
    Well... silly me... I figured out the ID issue... I had the iButton in upside down. LOL!

    Hey! I said I was new! haha!· But anyway... Does anyone have an example of reading and setting the time on the RTC?

    Thanks!,

    /*Raj*/
Sign In or Register to comment.