changeset 437:c54d32ec2133

bug-hunt for temperature curve
author heinrichsweikamp
date Sun, 07 Aug 2011 21:01:13 +0200
parents 8c0bb701b925
children ec28f64bfeff
files code_part1/OSTC_code_asm_part1/menu_logbook.asm
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Sat Aug 06 08:28:44 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Sun Aug 07 21:01:13 2011 +0200
@@ -710,6 +710,14 @@
     sublw       .75+.153      				; Upside-down: Y = .75 + (.153 - result)
     movwf       xC+0
 
+	; Check limits
+	movlw		d'75'
+	movwf		xC+1
+	cpfsgt		xC+0
+	movff		xC+1,xC+0
+	
+	
+
     movlw       color_pink
     call        PLED_set_color