Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years ago.
You have used external rtc hardware or you have used internal clock frequency ?
You have used external rtc hardware or you have used internal clock frequency ? i am trying to display time on my kl25z lcd. can i use this?
Question relating to:
2 Answers
10 years ago.
You can use the KL25Z's RTC if you replace the 8MHz crystal with a 32KHz crystal and use the MBED-SRC code as described in the link below. The only draw back I could find is the pc.printf function will no longer work if you want to output data to the USB connector.
https://developer.mbed.org/users/star297/code/KL25Z-32kHz-crystal-mbed-src-library/
You will find Mbed indicates the library is out of date, but do not update it otherwise the changes will be overwritten.
10 years ago.
IIRC it uses the internal RTC, but you can't use this program on your KL25Z since he also uses the internal LCD controller, which the KL25Z does not have. I am sure there are plenty of other examples on how to do this on a random LCD display.