the clock S-35390A
zapmaster
Posts: 54
i have worked on the clock S-35390A
i have a issue with setting the clock setting
when i set the numbers bigger then 9 it does not set what the deal?
but some of this works
The plan is to update this with the web.(some day)
i had to add to Basic_i2c_driver.spin
pub bithi (SCL)| SDA
SDA := SCL + 1
outa[SDA]~~
outa[SCL]~~
outa[SCL]~
outa[SDA]~
pub bitlo (SCL)| SDA
SDA := SCL + 1
outa[SDA]~
outa[SCL]~~
outa[SCL]~
outa[SDA]~~
i have a issue with setting the clock setting
when i set the numbers bigger then 9 it does not set what the deal?
but some of this works
The plan is to update this with the web.(some day)
i had to add to Basic_i2c_driver.spin
pub bithi (SCL)| SDA
SDA := SCL + 1
outa[SDA]~~
outa[SCL]~~
outa[SCL]~
outa[SDA]~
pub bitlo (SCL)| SDA
SDA := SCL + 1
outa[SDA]~
outa[SCL]~~
outa[SCL]~
outa[SDA]~~
Comments
Thank you looked for that and did not find anything.
must have missed that post.
Try this for the code:
Quote: "Attached is a driver for the Real Time Clock chip on the Spinneret Web Server board."
http://forums.parallax.com/showthread.php?t=127089
The Spinneret Web Server Manual:
http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/32203SpinneretWebServerDocv1.0.pdf
RTC Spec Sheet:
http://datasheet.sii-ic.com/en/real_time_clock/S35390A_E.pdf