English
Language : 

M16C26A-C Datasheet, PDF (1/17 Pages) Renesas Technology Corp – Sample Program (Calendar)
ç
Application Notes
M16C/26A Group
Sample Program (Calendar)
1. Summary
This sample program provides the functionality of a calendar by using the Renesas Starter Kit for M16C/26A (R0K33026AS000BE) and
an extension board. Specifically, it creates a calendar that shows a date of the day on liquid crystal display. (Dates from January 1, 2000
to December 31, 2099, including leap years, are supported.) Switches on the extension board (SW1–SW16) are used to set a date (year,
month and day) and a day of the week.
Calendar display
The extension board used here is a product
from PI System Co., Ltd.
2. Introduction
The example described in this document applies to the microcomputers listed below:
Microcomputers: M16C26A
This sample program runs on the Renesas Starter Kit for M16C/26A (R0K33026AS000BE).
Prepare an extension board available for the Renesas Starter Kit or create a circuit similar to the one shown in the example circuit on
page 14 and then connect it to the Starter Kit.
This program uses RSK_LIB. For details about RSK_LIB, see the RSK_LIB reference manual. (RSK_LIB is the library software
provided for use with the Renesas Starter Kit for M16C/26A.)
ç
REJ05B0813-0120 Rev.1.20
2007.11
Page 1 of 17