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; | /* counter */ |
unsigned char c=0; | /* holds port output */ |
PCR8 = 0xff; | /* port is output */ |
PDR8 = c; | /* all LED's on (inverse) */ |
while (1) |
|
{ |
|
while | /* wait ... */ |
c++; | /* increment c */ |
PDR8 = c; | /* to port */ |
} |
|
} |
|
Issue 0.2 | Page 19 | 07/2002 |