
HTEB1
User manual
Issue 0.2
Page 19
07/2002
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;
/* counter */
unsigned char c=0;
/* holds port output */
PCR8 = 0xff;
/* port is output */
PDR8 = c;
/* all LED's on (inverse) */
while (1)
{
while (--x);
/* wait ... */
c++;
/* increment c */
PDR8 = c;
/* to port */
}
}
Summary of Contents for H8/Tiny 3664F
Page 26: ...HTEB1 User manual Issue 0 2 Page 26 07 2002 ...
Page 27: ...HTEB1 User manual Issue 0 2 Page 27 07 2002 ...
Page 31: ...HTEB1 User manual Issue 0 2 Page 31 07 2002 2 3 Workflow ...
Page 52: ...HTEB1 User manual Issue 0 2 Page 52 07 2002 Appendix B Schematic ...
Page 53: ...HTEB1 User manual Issue 0 2 Page 53 07 2002 Appendix C Board layout ...
Page 54: ...HTEB1 User manual Issue 0 2 Page 54 07 2002 NOTES ...
Page 55: ...HTEB1 User manual Issue 0 2 Page 55 07 2002 NOTES ...