View previous topic :: View next topic |
Author |
Message |
Icarus
Joined: 02 May 2012 Posts: 16
|
RTC to LCD |
Posted: Sun May 06, 2012 5:18 pm |
|
|
Hello, I use 18F452, how to display RTC on LCD ? |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sun May 06, 2012 5:49 pm |
|
|
First off:
If you are doing this on Proteus please do us all a favor and go to
the Proteus forum now rather than asking here. This is NOT Proteus
support.
Otherwise:
You didn't even say what RTC or LCD you are using. What is the LCD
model number for example. Which RTC are you going to use?
You need to learn how to search the forum before you start asking for
someone to do your work for you. There is lots of code here if you just
take the time to look for yourself instead of us wasting our time doing the
research for you!
When you find working code and try it on REAL hardware and it doesn't
work, then you might ask for help debugging. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
Icarus
Joined: 02 May 2012 Posts: 16
|
|
Posted: Sun May 06, 2012 5:58 pm |
|
|
Am trying to use DS1302.C driver. I made research but I didn't find the mainlines that would help me. I think it's just a small thing that I ignore that's why I posted it shortly here. |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Sun May 06, 2012 6:31 pm |
|
|
Hi Icarus,
Please post a clear (in focus) photo of your completed hardware. Once you do that, we'll be able to help you. Until then, probably not!
John |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun May 06, 2012 7:23 pm |
|
|
Please check the CCS Drivers and Examples directories before posting a question.
The ds1302 driver is here:
Quote: |
c:\program files\picc\drivers\ds1302.c
|
The example program that shows how to use the functions in the driver
and also how to display it on an LCD is here:
Quote: |
c:\program files\picc\examples\ex_rtclk.c
|
Please carefully check the Examples and Drivers directories before asking us about it. |
|
|
Icarus
Joined: 02 May 2012 Posts: 16
|
|
Posted: Mon May 07, 2012 7:01 am |
|
|
Am just beginner, thanks for your understanding. Now it works !! |
|
|
|