From: ian Date: Tue, 2 Aug 2005 01:01:43 +0000 (+0000) Subject: how to test X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=945378af96937e9163db7eb7253b85936bd8ecc7;p=trains.git how to test --- diff --git a/cebpic/nmra-stream.asm b/cebpic/nmra-stream.asm index 69a4ffd..70c4e65 100644 --- a/cebpic/nmra-stream.asm +++ b/cebpic/nmra-stream.asm @@ -1,4 +1,13 @@ +; can be tested with liberator's mic input: +; 1k1, 110k resistor divider from track gives 1/100 track +; voltage to mic input +; then +; sox -r 96000 -u -b -t ossdsp /dev/dsp t.dat +; perl -pe '$_= m/\-/ ? "_" : "~"' u +; in an xterm showing font "tiny" +; less u + ; pin 21 (per-pic-led, RD2/PSP2/C1IN) states: ; high H = green, low L = red, float Z = black diff --git a/detpic/nmra-stream.asm b/detpic/nmra-stream.asm index 69a4ffd..70c4e65 100644 --- a/detpic/nmra-stream.asm +++ b/detpic/nmra-stream.asm @@ -1,4 +1,13 @@ +; can be tested with liberator's mic input: +; 1k1, 110k resistor divider from track gives 1/100 track +; voltage to mic input +; then +; sox -r 96000 -u -b -t ossdsp /dev/dsp t.dat +; perl -pe '$_= m/\-/ ? "_" : "~"' u +; in an xterm showing font "tiny" +; less u + ; pin 21 (per-pic-led, RD2/PSP2/C1IN) states: ; high H = green, low L = red, float Z = black