We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i am using lpc1758 microcontroller and to display on lcd, i have done the interfacing of glcd with microcontroller through SPI. now i am sending data but no display.
same way you'd display any other text.
So start by getting basic text display working...
Thanx andy, LCD is working properly.
Find an RTC example, sprintf() to a string buffer and then send to your text output routine.
For the benefit of others who may have similar problems and find this, please describe what was wrong & how you fixed it ...
Thanx Westonsupermare Pier.. default time which i have set is displaying now but it is not incrementing.
Do i have to write a function fro updating it?
Yes - of course you do!
The display will only show what you send to it. If you never change that, then it will just keep showing the same thing!
LPC1700 is not my platform, but would expect crystal and RTC would need some amount of configuration, and battery to maintain. You'd want to look for RTC examples and merge. Perhaps NXP forum would have more suggestion, or pointers to library code. Reference Manual / Data Sheet might also provide salient detail.