# Each line is: # M|S|MS how interval # where how is one of # T1ov T3ov # set T[13]CON to | _{master,slave}_t[13]scale # load TMR[13][HL] with _{master,slave}_t[13]init[hl] # or to put it another way, TMR[13] with # 65535 - _{master,slave}_t[13]cycles # then time to overflow will be specified time points MS T3ov 10ms tick MST T2period 1ms nmra M T0ov8 58us-10cy ; we do morse at 18wpm according to the PARIS standard ; (ie a unit time of 66ms) using timer0 (DS p108) morse MS T0ov16 66ms