$regfile = "2313def.dat" $crystal = 4000000 Config Pind.6 = Output Config Pinb.1 = Output Config Timer1 = Timer , Prescale = 1 Const Timer1pre = 65100 Dim Wtime As Byte Stop Timer1 Timer1 = Timer1pre On Timer1 Pulse: Start Timer1 Wtime = 100 Enable Interrupts Enable Timer1 Do Set Portd.6 Waitms Wtime Reset Portd.6 Waitms Wtime Loop Pulse: Stop Timer1 Timer1 = Timer1pre Toggle Portb.1 Start Timer1 Return End