summaryrefslogtreecommitdiff
path: root/software/ttx/ttx.asm
diff options
context:
space:
mode:
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