Mercurial > public > hwos_code
comparison src/compass_ops.asm @ 650:bc214815deb2
3.19/10.75 release
author | heinrichsweikamp |
---|---|
date | Sun, 28 Aug 2022 13:13:38 +0200 |
parents | ef2ed7e3a895 |
children | 75e90cd0c2c3 |
comparison
equal
deleted
inserted
replaced
649:ef2ed7e3a895 | 650:bc214815deb2 |
---|---|
389 | 389 |
390 ;----------------------------------------------------------------------------- | 390 ;----------------------------------------------------------------------------- |
391 ; Show Calibration Progress | 391 ; Show Calibration Progress |
392 ; | 392 ; |
393 TFT_compass_fast: | 393 TFT_compass_fast: |
394 WIN_TINY .0,.50 ; set font and position | 394 WIN_TINY .5,.50 ; set font and position |
395 FONT_COLOR_MEMO ; set font color | 395 FONT_COLOR_MEMO ; set font color |
396 | 396 |
397 STRCPY "Cx:" ; print label | 397 STRCPY "Cx:" ; print label |
398 MOVII compass_DX,mpr ; get value | 398 MOVII compass_DX,mpr ; get value |
399 rcall TFT_compass_fast_helper ; print value | 399 rcall TFT_compass_fast_helper ; print value |
406 MOVII compass_DZ,mpr ; get value | 406 MOVII compass_DZ,mpr ; get value |
407 rcall TFT_compass_fast_helper ; print value | 407 rcall TFT_compass_fast_helper ; print value |
408 | 408 |
409 PRINT ; dump to screen | 409 PRINT ; dump to screen |
410 | 410 |
411 WIN_TINY .0,.104 ; set font and position | 411 WIN_TINY .5,.104 ; set font and position |
412 FONT_COLOR_MEMO ; set font color | 412 FONT_COLOR_MEMO ; set font color |
413 | 413 |
414 STRCPY "Ax:" ; print label | 414 STRCPY "Ax:" ; print label |
415 MOVII accel_DX,mpr ; get value | 415 MOVII accel_DX,mpr ; get value |
416 rcall TFT_compass_fast_helper ; print value | 416 rcall TFT_compass_fast_helper ; print value |