diff code_part1/OSTC_code_asm_part1/start.asm @ 43:65d5b0c8da41

New CF48, changed CF15
author heinrichsweikamp
date Thu, 24 Jun 2010 22:12:32 +0200
parents 6e5db85382a2
children 985607cfb813
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Sun Jun 20 22:11:28 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Thu Jun 24 22:12:32 2010 +0200
@@ -127,6 +127,8 @@
 restart:
 	bcf		LED_red
 	bcf		LED_blue				; all LEDs off
+	GETCUSTOM8	d'48'				; time correction value
+	movff	WREG, time_correction_value	; store in Bank0 register
 
 	clrf	flag1					; clear all flags
 	clrf	flag2