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