EasyManua.ls Logo

Casio DT-930 Series - Editing Source Code

Casio DT-930 Series
24 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
2.4 Editing Source Code
In order to explain the steps of application development, the following source codes are used. In
this guide, the file name is SAMPLE.C and is placed at C:\DT930\AP\
< SAMPLE.C>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "itron.h"
#include "CMNDEF.H"
#include "bios1mac.h"
ap_start( )
{
KEY_INP pkey_inp;
ER retcd;
lcd_csr_put( 1, 1 );
lcd_string( LCD_ANK_STANDARD, LCD_ATTR_NORMAL,(UB*)"Hello." , LCD_LF_OFF );
lcd_csr_put( 7, 1 );
lcd_string( LCD_ANK_STANDARD, LCD_ATTR_NORMAL,(UB*)"Push Any Key" , LCD_LF_OFF );
lcd_csr_set(LCD_CSR_UNDER);
pkey_inp.ext = KEY_NON_EXT;
pkey_inp.echo = ECHO_ON;
pkey_inp.font_size = LCD_ANK_STANDARD;
pkey_inp.type = LCD_ATTR_NORMAL;
pkey_inp.line_pos = 5;
pkey_inp.column_pos = 1;
retcd = key_read( &pkey_inp );
exit(0);
}

Related product manuals