Hitachi Network Adapter H8 User Manual page 19

Lowcost evaluation board
Table of Contents

Advertisement

HTEB1
User manual
All other options can be changed later.
Click on OK.
Now select File/new/source file and type in the following program:
/* MyTinyTest */
#include "ioh83664.h"
void main(void)
{
unsigned int x=0;
unsigned char c=0;
PCR8 = 0xff;
PDR8 = c;
while (1)
{
while (--x);
c++;
PDR8 = c;
}
}
Issue 0.2
/* counter */
/* holds port output */
/* port is output */
/* all LED's on (inverse) */
/* wait ... */
/* increment c */
/* to port */
Page 19
07/2002

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/tiny 3664fHteb1

Table of Contents