From: ian Date: Sun, 16 Mar 2008 21:56:44 +0000 (+0000) Subject: leave comment saying how to disable nmra and get dc onto track X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=81e90ff698e2123ed2194927c9dec719a7ccf140;p=trains.git leave comment saying how to disable nmra and get dc onto track --- diff --git a/detpic/nmra-stream.asm b/detpic/nmra-stream.asm index 7693f2b..ba5f399 100644 --- a/detpic/nmra-stream.asm +++ b/detpic/nmra-stream.asm @@ -202,7 +202,10 @@ nmra_restartmessage @ ; Entrypoint from power_polarising_tick, at end ; interrupt set-up for timer0 interrupt p79/80 bs_fa INTCON2,2 ; timer0 overflow high priority + bs_fa INTCON,5 ; enable timer0 interrupts + ; ^ to disable NMRA output and get DC onto the track, + ; comment out the line above debug 'e' ; write 'e' to serial port