Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
95:3dfc2b7ced6d | 96:a4bff632e97b |
---|---|
1136 movff compass_DZ+0,lo | 1136 movff compass_DZ+0,lo |
1137 movff compass_DZ+1,hi | 1137 movff compass_DZ+1,hi |
1138 call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required | 1138 call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required |
1139 output_16 | 1139 output_16 |
1140 STRCAT_PRINT " " | 1140 STRCAT_PRINT " " |
1141 | |
1142 ; WIN_TINY .20,.86 | |
1143 ; STRCPY "DX:" | |
1144 ; movff compass_DX_f+0,lo | |
1145 ; movff compass_DX_f+1,hi | |
1146 ; call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required | |
1147 ; output_16 | |
1148 ; STRCAT ", DY:" | |
1149 ; movff compass_DY_f+0,lo | |
1150 ; movff compass_DY_f+1,hi | |
1151 ; call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required | |
1152 ; output_16 | |
1153 ; STRCAT ", DZ:" | |
1154 ; movff compass_DZ_f+0,lo | |
1155 ; movff compass_DZ_f+1,hi | |
1156 ; call TFT_convert_signed_16bit ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required | |
1157 ; output_16 | |
1158 ; STRCAT_PRINT " " | |
1159 | |
1141 return | 1160 return |
1142 | 1161 |
1143 global TFT_show_timeout_testmode | 1162 global TFT_show_timeout_testmode |
1144 TFT_show_timeout_testmode: ; With timeout in WREG... | 1163 TFT_show_timeout_testmode: ; With timeout in WREG... |
1145 movwf hi | 1164 movwf hi |