IBM H8 user manual HTEB1

Page 38

HTEB1

User manual

void LCDLoopMsg(void)

 

 

{

 

 

while(1)

// do forever...

{

 

 

LCDWriteLine(0,&Text1[0]);

// display msgs

LCDWriteLine(1,&Text2[0]);

 

Delay();

 

 

LCDWriteLine(0,&Text3[0]);

 

LCDWriteLine(1,&Text4[0]);

 

Delay();

 

 

LCDWriteLine(0,&Text4[0]);

 

LCDWriteLine(1,&Text5[0]);

 

Delay();

 

 

}

 

 

}

 

 

void main(void)

 

 

{

 

 

LCDInit();

// init ports and LCD

LCDLoopMsg();

// go to LoopMsg

}

 

 

 

 

 

Issue 0.2

Page 38

07/2002

Image 38
Contents Hitachi H8/Tiny 3664F Preface Table of Contents System Development Kit content Hardware descriptionFeatures Board overview Board overviewJumpers and switches JP4, D/A CONOrientation Operation Connectors X1 SubD9, Pin Operation RemarkX3 LCD-CON SV1 SV2 SV3 SV4 PIN Installing the HTEB1 Start-Up instructionsTest program Software Installation Creating a program using IAR-EWH8 Development EnvironmentHTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Download the code using FDT HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Workflow Examples Key’s and LED’s LEDSPEEDINIT4PMR1 &= ~KEYALL RunningLightInit Init keys and LEDs TimerAInit LCD Clearlcdrs Setlcdrw Lcddatactrl = Lcdin Setlcden HTEB1 SCI IsscitxfreeInit sci with 9600Baud, 8N1 A/D + PWM Lcddatactrl = Lcdin Setlcden Calculate av of last 15 values AT-Keyboard-Interface Setlcdrw Lcddatactrl = Lcdin Setlcden Mask = Msg buffer Tables Scan-Codes MFII-Keyboard Numeric Keypad Main Scan-Code Keypad Function Scan-Code Examples DatasheetsPrograms DemoAppendix B Schematic Appendix C Board layout HTEB1 HTEB1 HTEB1