diff code_part1/OSTC_code_asm_part1/ms5535.asm @ 83:3e351e25f5d1

adding anti-aliased fonts frame and merging some patches from Jeando
author heinrichsweikamp
date Tue, 07 Dec 2010 22:36:19 +0100
parents 31fa973a70fd
children 8d6aca08f66b
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/ms5535.asm	Tue Dec 07 13:22:17 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/ms5535.asm	Tue Dec 07 22:36:19 2010 +0100
@@ -297,28 +297,6 @@
 ;	cpfsgt	EEDATA						; EEDATA>200?
 ;	movff	EEDATA, temperature_correction	; No, Store for compensation
 ;	
-  ifdef TESTING
-    ; Get example calibration values (Intersema 5535B datasheet, p12).
-    movlw   LOW  .18556
-    movwf   W1+0
-    movlw   HIGH .18556
-    movwf   W1+1
-    
-    movlw   LOW  .49183
-    movwf   W1+0
-    movlw   HIGH .49183
-    movwf   W1+1
-    
-    movlw   LOW  .22354
-    movwf   W1+0
-    movlw   HIGH .22354
-    movwf   W1+1
-
-    movlw   LOW  .28083
-    movwf   W1+0
-    movlw   HIGH .28083
-    movwf   W1+1
-  else
 	rcall	reset_MS5535A
 	movlw	d'13'
 	movwf	clock_count
@@ -355,7 +333,6 @@
 	rcall	get_2bytes_MS5535A
 	movff	dMSB,W4+1	
 	movff	dLSB,W4+0
-  endif
 
 ; calculate C1 (16Bit)
 	movff	W1+1, C1+1