From bc9201ef423bbcb21d3b3a8ed9b156cdd361b80a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 23 Jul 2011 02:13:58 +0000 Subject: added send_parity git-svn-id: https://svn.spreadspace.org/mur.sat@37 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/ttx/ttx.asm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'software/ttx/ttx.asm') diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm index 5fd15d4..d04381a 100644 --- a/software/ttx/ttx.asm +++ b/software/ttx/ttx.asm @@ -514,7 +514,13 @@ caseend ;; ------------------------------------- send_parity - return ; TODO + movf PARITY,w + btfsc PARITY,5 + xorlw b'00000001' + andlw b'00011111' + call base32 + call send_char + return ;; ------------------------------------- send_beacon @@ -547,9 +553,9 @@ send_beacon movlw .10 call send_base32 - ;; movlw WSPACE - ;; call dottime - ;; call send_parity + movlw WSPACE + call dottime + call send_parity bcf GPIO,CWENABLE return -- cgit v1.2.3