summaryrefslogtreecommitdiff
path: root/software/ihu/tables.inc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-07-31 01:56:18 +0000
committerChristian Pointner <equinox@mur.at>2011-07-31 01:56:18 +0000
commit2aaee32fc73b90ecfaa9edf494487831d892c855 (patch)
tree970a4615e72501bd8c029fc4d37f287f35b2f555 /software/ihu/tables.inc
parentone wire write commands work (diff)
1wire for DS1821 works now
git-svn-id: https://svn.spreadspace.org/mur.sat@84 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ihu/tables.inc')
-rw-r--r--software/ihu/tables.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/software/ihu/tables.inc b/software/ihu/tables.inc
index 69584bf..1050a5e 100644
--- a/software/ihu/tables.inc
+++ b/software/ihu/tables.inc
@@ -42,5 +42,31 @@ digit
retlw '7'
retlw '8'
retlw '9'
+ retlw 'A'
+ retlw 'B'
+ retlw 'C'
+ retlw 'D'
+ retlw 'E'
+ retlw 'F'
+
+mul10
+ addwf PCL,f
+ retlw .0
+ retlw .10
+ retlw .20
+ retlw .30
+ retlw .40
+ retlw .50
+ retlw .60
+ retlw .70
+ retlw .80
+ retlw .90
+ retlw .100
+ retlw .110
+ retlw .120
+ retlw .130
+ retlw .140
+ retlw .150
+ retlw .160
;; -------------------------------------