I need the code 74HC595 with 4-Digits 7-Segments Display Cathode Common and DS1307 RTC (12-hour format AM/PM) on CCS C. Please help me.
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
how to begin
Posted: Tue May 12, 2009 12:24 pm
as a first step - you could show how you propose to connect the hardware in question and then have a go YOURSELF at writing some code - to at least show that YOU
(a) put in some effort to start with
and
(b) might actually have the chops to do what you inquire about.
as a rule, there are plenty of working professionals on the board who can and HAVE - had to deal with this EXACT sort of thing in the past.
i know i have dealt with SPI drive of the 595 and its higher powered
( TI.COM) TPICxxxx relatives.
And as kindly as i can state this:
I'm not here to do your work FOR you.
ECACE
Joined: 24 Jul 2006 Posts: 94
Posted: Tue May 12, 2009 1:55 pm
Take a look at:
\Program Files\PICC\Examples\EX_EXSIO.C
and
\Program Files\PICC\Examples\EX_DS1307.C
These should give you some information on it as well. _________________ A HW Engineer 'trying' to do SW !!! Run!!!
This example file has some 7-segment LED display code that uses
the 74595.c driver file. Look at the lcd_putd() function:
Quote:
c:\program files\picc\examples\ex_zmd.c
ECACE
Joined: 24 Jul 2006 Posts: 94
Posted: Tue May 12, 2009 2:42 pm
Oops, my mistake. I had taken that driver and example code you are pointing to and saved the sample program as EX_DS1307.C. _________________ A HW Engineer 'trying' to do SW !!! Run!!!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum