diff code_part1/OSTC_code_asm_part1/tempcomp.asm @ 49:cd5b650920f6

1.70...
author heinrichsweikamp
date Wed, 28 Jul 2010 15:40:03 +0200
parents 2b5c52ae3923
children
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/tempcomp.asm	Thu Jul 15 18:11:08 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/tempcomp.asm	Wed Jul 28 15:40:03 2010 +0200
@@ -1,35 +1,4 @@
-
-; OSTC - diving computer code
-; Copyright (C) 2008 HeinrichsWeikamp GbR
-
-;    This program is free software: you can redistribute it and/or modify
-;    it under the terms of the GNU General Public License as published by
-;    the Free Software Foundation, either version 3 of the License, or
-;    (at your option) any later version.
-
-;    This program is distributed in the hope that it will be useful,
-;    but WITHOUT ANY WARRANTY; without even the implied warranty of
-;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-;    GNU General Public License for more details.
-
-;    You should have received a copy of the GNU General Public License
-;    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-
-; routine for extra temperature compensation
-; written by: Matthias Heinrichs, info@heinrichsweikamp.com
-; written: 01/12/08
-; last updated: 08/08/31
-; known bugs:
-; ToDo:
-
-; routine echoes the "f" command as ready signal
-; PC has to send 2 bytes containing the actual temperature in 0.1C
-; Byte1: low
-; Byte2: high
-
-
-compensate_temperature:
	bcf		uart_compensate_temp		; clear flag
	bcf		PIE1,RCIE					; no interrupt for UART
;
+; OSTC - diving computer code
; Copyright (C) 2008 HeinrichsWeikamp GbR

;    This program is free software: you can redistribute it and/or modify
;    it under the terms of the GNU General Public License as published by
;    the Free Software Foundation, either version 3 of the License, or
;    (at your option) any later version.

;    This program is distributed in the hope that it will be useful,
;    but WITHOUT ANY WARRANTY; without even the implied warranty of
;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;    GNU General Public License for more details.

;    You should have received a copy of the GNU General Public License
;    along with this program.  If not, see <http://www.gnu.org/licenses/>.


; routine for extra temperature compensation
; written by: Matthias Heinrichs, info@heinrichsweikamp.com
; written: 01/12/08
; last updated: 08/08/31
; known bugs:
; ToDo:

; routine echoes the "f" command as ready signal
; PC has to send 2 bytes containing the actual temperature in 0.1C
; Byte1: low
; Byte2: high


compensate_temperature:
	bcf		uart_compensate_temp		; clear flag
	bcf		PIE1,RCIE					; no interrupt for UART
;
 ;	call	set_LEDusb					; LEDusb ON
;
 ;	bcf		PIR1,RCIF					; clear flag
;
 ;
;