diff src/tft_outputs.asm @ 96:a4bff632e97b

auto-reset compass filtering data before calibration
author heinrichsweikamp
date Mon, 28 Apr 2014 11:33:00 +0200
parents f2201aa374db
children 53a99a2dc6a1
line wrap: on
line diff
--- a/src/tft_outputs.asm	Mon Apr 28 10:17:18 2014 +0200
+++ b/src/tft_outputs.asm	Mon Apr 28 11:33:00 2014 +0200
@@ -1138,6 +1138,25 @@
     call    TFT_convert_signed_16bit	; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
     output_16
 	STRCAT_PRINT "  "
+
+;    WIN_TINY	.20,.86
+;    STRCPY  "DX:"
+;    movff   compass_DX_f+0,lo
+;    movff   compass_DX_f+1,hi
+;    call    TFT_convert_signed_16bit	; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
+;    output_16
+;    STRCAT  ", DY:"
+;    movff   compass_DY_f+0,lo
+;    movff   compass_DY_f+1,hi
+;    call    TFT_convert_signed_16bit	; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
+;    output_16
+;    STRCAT  ", DZ:"
+;    movff   compass_DZ_f+0,lo
+;    movff   compass_DZ_f+1,hi
+;    call    TFT_convert_signed_16bit	; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
+;    output_16
+;    STRCAT_PRINT  "     "
+
     return
 
     global  TFT_show_timeout_testmode