summaryrefslogtreecommitdiff
path: root/software/ttx/ttx.asm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-05-03 00:32:18 +0000
committerChristian Pointner <equinox@mur.at>2011-05-03 00:32:18 +0000
commitc5f23b28307fdc4aa9b64cbb2440e9608eaadc45 (patch)
treed4a1bc9d5fd0aa8b793e83348a76ce6036580b79 /software/ttx/ttx.asm
parentadded 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.asm34
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