comparison src/ostc3.inc @ 250:20e3bad0b0f2

Graphical compass from kovacs
author heinrichsweikamp
date Wed, 18 Mar 2015 16:42:49 +0100
parents 6c4ad243cb44
children 5fe7aff622f3
comparison
equal deleted inserted replaced
249:94bf757690cf 250:20e3bad0b0f2
658 #DEFINE voting_logic_sensor1 flag11,3; =1: This sensor is within the voting logic threshold 658 #DEFINE voting_logic_sensor1 flag11,3; =1: This sensor is within the voting logic threshold
659 #DEFINE voting_logic_sensor2 flag11,4; =1: This sensor is within the voting logic threshold 659 #DEFINE voting_logic_sensor2 flag11,4; =1: This sensor is within the voting logic threshold
660 #DEFINE voting_logic_sensor3 flag11,5; =1: This sensor is within the voting logic threshold 660 #DEFINE voting_logic_sensor3 flag11,5; =1: This sensor is within the voting logic threshold
661 #DEFINE cc_active flag11,6; =1: Constant Current active (cR Hardware) 661 #DEFINE cc_active flag11,6; =1: Constant Current active (cR Hardware)
662 #DEFINE cv_active flag11,7; =1: Constant Voltage active (cR Hardware) 662 #DEFINE cv_active flag11,7; =1: Constant Voltage active (cR Hardware)
663
664 flag12 res 1
665 #DEFINE print_compass_label flag12,0 ; print the grpahical comapss label
666
667 ;---- Data for graphical compass
668 xRD res 2 ; virtual compass ruler offset
669 xLO res 1 ; lo backup to prevent trashing
670 xHI res 1 ; hi backup to prevent trashing
671
663 ;============================================================================= 672 ;=============================================================================
664 ; C-code Routines 673 ; C-code Routines
665 ; PART 2 674 ; PART 2
666 extern deco_calc_CNS_decrease_15min 675 extern deco_calc_CNS_decrease_15min
667 extern deco_calc_CNS_fraction 676 extern deco_calc_CNS_fraction