chiark / gitweb /
make points work; timings are odd; need new 10ms beat
[trains.git] / detpic / program.clocks
1 # Each line is:
2 #  <name>       M|S|MS          how     interval
3 # where how is one of
4 #  T1ov T3ov
5 #       set  T[13]CON to  <stuff> | <name>_{master,slave}_t[13]scale
6 #       load TMR[13][HL] with  <name>_{master,slave}_t[13]init[hl]
7 #       or to put it another way, TMR[13] with
8 #               65535 - <name>_{master,slave}_t[13]cycles
9 #       then time to overflow will be specified time
10
11 #morse          MS      T0ov16          66ms
12 points          S       T3ov            200ms
13 #points         S       T3ov            350ms
14 points          M       T3ov            50ms