#include #include "sfr62.h" unsigned long t; /**** MAIN **************************************************************/ void far main() { asm( "\tFSET I"); /* Enable interrupt */ pd6 = 255; pd10 = 0x00; while(1) { if (p10!=0){p6_0 = 0; p6_1 = 1;} if (p10==0){p6_0 = 1; p6_1 = 0; for (t=0; t<300000; t++);} } }