diff options
author | Christian Pointner <equinox@mur.at> | 2011-05-03 00:32:18 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2011-05-03 00:32:18 +0000 |
commit | c5f23b28307fdc4aa9b64cbb2440e9608eaadc45 (patch) | |
tree | d4a1bc9d5fd0aa8b793e83348a76ce6036580b79 /software/ttx/ttx.asm | |
parent | added dottime calculations and wait routine (diff) |
cleaned dottime calculation
added test signal
git-svn-id: https://svn.spreadspace.org/mur.sat@8 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ttx/ttx.asm')
-rw-r--r-- | software/ttx/ttx.asm | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm index e0b8a9b..2030cf7 100644 --- a/software/ttx/ttx.asm +++ b/software/ttx/ttx.asm @@ -62,7 +62,7 @@ init option movlw b'11111110' tris GPIO - bsf GPIO,CWOUT + bcf GPIO,CWOUT clrf TMR0 movlw BEACON_INT movwf SECCNT @@ -87,10 +87,36 @@ dot_inner return send_beacon - movlw b'00000001' - xorwf GPIO,f + ;; test send out: + ;; .- . - + bsf GPIO,CWOUT + movlw DOT + call dottime + bcf GPIO,CWOUT - + movlw ESPACE + call dottime + + bsf GPIO,CWOUT + movlw DASH + call dottime + bcf GPIO,CWOUT + + movlw CSPACE + call dottime + + bsf GPIO,CWOUT + movlw DOT + call dottime + bcf GPIO,CWOUT + + movlw WSPACE + call dottime + + bsf GPIO,CWOUT + movlw DASH + call dottime + bcf GPIO,CWOUT return |