$regfile = "2313def.dat" $crystal = 4000000 Config Pind.6 = Output Config Timer1 = Counter , Edge = Falling , Prescale = 1 Stop Counter1 Set Portd.6 Waitms 1000 Reset Portd.6 Waitms 1000 Cls Do Counter1 = 0 Start Counter1 Waitms 25 Stop Counter1 Cls Lcd "Counter1: " ; Counter1 Waitms 100 Loop End