Topics Topics Edit Profile Profile Help/Instructions Help Member List Member List  
Search Last 1|3|7 Days Search Search Tree View Tree View  

DS1302 RTC - Number for each day

:: EPE Chat Zone ­:: ­Radio Bygones Message Board :: » EPE Forum Archives 2005-2006 » Archive through 28 March, 2006 » DS1302 RTC - Number for each day « Previous Next »

  Thread Last Poster Posts Pages Last Post
  ClosedClosed: New threads not accepted on this page        

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Atferrari
Frequent Contributor
Username: Atferrari

Post Number: 159
Registered: 05-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, 25 March, 2006 - 05:23 pm:   Edit Post Delete Post Print Post

To enter the days of the week when programming the RTC DS1302, what are the numbers for each day of the week? The datasheet says nothing.

Help appreciated.
Agustín Tomás - Buenos Aires - Argentina
Top of pagePrevious messageNext messageBottom of page Link to this message

Joe
Frequent Contributor
Username: Joe

Post Number: 110
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, 25 March, 2006 - 07:24 pm:   Edit Post Delete Post Print Post

It dosn't matter.... and that's not as stupid at is sounds.

The top of page 6 of my datasheet says:
The day-of-week register increments at midnight. Values that correspond to day of week are user-defined but must be sequential. i.e if 1 = Sunday, then 2 = Monday etc.

They just increment the day of week at midnight and when the value is 7 at midnight, they just set it back to 1.
Do one thing each day that scares you – work here !
Top of pagePrevious messageNext messageBottom of page Link to this message

Atferrari
Frequent Contributor
Username: Atferrari

Post Number: 160
Registered: 05-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 26 March, 2006 - 12:19 pm:   Edit Post Delete Post Print Post

I think I understand it now. Gracias
Agustín Tomás - Buenos Aires - Argentina

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page