summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-05-28 00:59:00 +0000
committerChristian Pointner <equinox@mur.at>2011-05-28 00:59:00 +0000
commit4162832a5a18c9bcafa78a8f083bd09680d265f7 (patch)
tree6946591a51fa6cbaeb5c240d21c25e24b4a8e7c8
parentported code to PIC12F635 (not tested yet) (diff)
fixed prescaler due to FOSC/4
moved SECCNT to common location git-svn-id: https://svn.spreadspace.org/mur.sat@30 7de4ea59-55d0-425e-a1af-a3118ea81d4c
-rw-r--r--software/ttx/ttx.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm
index 805d0f4..38b9254 100644
--- a/software/ttx/ttx.asm
+++ b/software/ttx/ttx.asm
@@ -37,7 +37,7 @@
;; -------------------------------------
;; DEFINES
BEACON_INT EQU .3 ; *2 = Beacon Interval in seconds
-SECCNT EQU H'0040'
+SECCNT EQU H'007D'
CHAR EQU H'0041'
CHARCNT EQU H'0042'
@@ -95,13 +95,13 @@ init
bsf STATUS,RP0
bcf STATUS,RP1
- movlw b'10000101'
+ movlw b'10000011'
movwf OPTION_REG
movlw b'11111100'
movwf TRISIO
movlw b'10000001'
movwf PIE1
- movlw b'00001000'
+ movlw b'00000000'
movwf OSCCON
bcf STATUS,RP0