Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 188:caf6153b26cb
new sensor raw data menu
author | heinrichsweikamp |
---|---|
date | Wed, 09 Feb 2011 17:16:07 +0100 |
parents | f720ce017244 |
children | f5e9db793dd3 |
comparison
equal
deleted
inserted
replaced
187:3b5f81c06db8 | 188:caf6153b26cb |
---|---|
731 | 731 |
732 movff WREG,win_top | 732 movff WREG,win_top |
733 STRCPY_PRINT "\xB7" | 733 STRCPY_PRINT "\xB7" |
734 return | 734 return |
735 | 735 |
736 PLED_static_raw_data: | |
737 WIN_FONT FT_SMALL | |
738 WIN_LEFT .0 | |
739 WIN_TOP .27 | |
740 STRCPY "C1:" | |
741 movff C1+0,lo | |
742 movff C1+1,hi | |
743 output_16 | |
744 call word_processor | |
745 WIN_LEFT .80 | |
746 WIN_TOP .27 | |
747 STRCPY "C2:" | |
748 movff C2+0,lo | |
749 movff C2+1,hi | |
750 output_16 | |
751 call word_processor | |
752 | |
753 WIN_LEFT .0 | |
754 WIN_TOP .52 | |
755 STRCPY "C3:" | |
756 movff C3+0,lo | |
757 movff C3+1,hi | |
758 output_16 | |
759 call word_processor | |
760 WIN_LEFT .80 | |
761 WIN_TOP .52 | |
762 STRCPY "C4:" | |
763 movff C4+0,lo | |
764 movff C4+1,hi | |
765 output_16 | |
766 call word_processor | |
767 | |
768 WIN_LEFT .0 | |
769 WIN_TOP .77 | |
770 STRCPY "C5:" | |
771 movff C5+0,lo | |
772 movff C5+1,hi | |
773 output_16 | |
774 call word_processor | |
775 WIN_LEFT .80 | |
776 WIN_TOP .77 | |
777 STRCPY "C6:" | |
778 movff C6+0,lo | |
779 movff C6+1,hi | |
780 output_16 | |
781 call word_processor | |
782 return | |
783 | |
784 PLED_update_raw_data: | |
785 WIN_LEFT .0 | |
786 WIN_TOP .102 | |
787 STRCPY "D1:" | |
788 movff D1+0,lo | |
789 movff D1+1,hi | |
790 output_16 | |
791 call word_processor | |
792 WIN_LEFT .80 | |
793 WIN_TOP .102 | |
794 STRCPY "D2:" | |
795 movff D2+0,lo | |
796 movff D2+1,hi | |
797 output_16 | |
798 call word_processor | |
799 | |
800 WIN_LEFT .0 | |
801 WIN_TOP .127 | |
802 STRCPY "OFF:" | |
803 movff OFF+0,lo | |
804 movff OFF+1,hi | |
805 output_16 | |
806 call word_processor | |
807 WIN_LEFT .80 | |
808 WIN_TOP .127 | |
809 STRCPY "SENS:" | |
810 movff SENS+0,lo | |
811 movff SENS+1,hi | |
812 output_16 | |
813 call word_processor | |
814 | |
815 WIN_LEFT .0 | |
816 WIN_TOP .152 | |
817 STRCPY "xdT:" | |
818 movff xdT+0,lo | |
819 movff xdT+1,hi | |
820 output_16 | |
821 call word_processor | |
822 WIN_LEFT .80 | |
823 WIN_TOP .152 | |
824 STRCPY "xdT2:" | |
825 movff xdT2+0,lo | |
826 movff xdT2+1,hi | |
827 output_16 | |
828 call word_processor | |
829 | |
830 WIN_LEFT .0 | |
831 WIN_TOP .177 | |
832 STRCPY "amb:" | |
833 movff amb_pressure+0,lo | |
834 movff amb_pressure+1,hi | |
835 output_16 | |
836 call word_processor | |
837 WIN_LEFT .80 | |
838 WIN_TOP .177 | |
839 STRCPY "temp:" | |
840 movff temperature+0,lo | |
841 movff temperature+1,hi | |
842 output_16 | |
843 call word_processor | |
844 | |
845 call get_battery_voltage ; get battery voltage | |
846 WIN_LEFT .0 | |
847 WIN_TOP .202 | |
848 STRCPY "AD0:" | |
849 movff ADRESL,lo | |
850 movff ADRESH,hi | |
851 output_16 | |
852 call word_processor | |
853 WIN_LEFT .80 | |
854 WIN_TOP .202 | |
855 STRCPY "BATT:" | |
856 movff batt_voltage+0,lo | |
857 movff batt_voltage+1,hi | |
858 output_16 | |
859 call word_processor | |
860 return | |
861 | |
736 PLED_menu_mask: | 862 PLED_menu_mask: |
737 call PLED_topline_box | 863 call PLED_topline_box |
738 WIN_INVERT .1 ; Init new Wordprocessor | 864 WIN_INVERT .1 ; Init new Wordprocessor |
739 DISPLAYTEXT .5 ; Menu: | 865 DISPLAYTEXT .5 ; Menu: |
740 WIN_INVERT .0 ; Init new Wordprocessor | 866 WIN_INVERT .0 ; Init new Wordprocessor |
765 DISPLAYTEXTH .258 ; Setup Menu 2: | 891 DISPLAYTEXTH .258 ; Setup Menu 2: |
766 WIN_INVERT .0 ; Init new Wordprocessor | 892 WIN_INVERT .0 ; Init new Wordprocessor |
767 DISPLAYTEXTH .257 ; Date format: | 893 DISPLAYTEXTH .257 ; Date format: |
768 DISPLAYTEXT .129 ; Debug: | 894 DISPLAYTEXT .129 ; Debug: |
769 DISPLAYTEXT .187 ; Show License | 895 DISPLAYTEXT .187 ; Show License |
896 DISPLAYTEXTH .295 ; Show raw data | |
770 | 897 |
771 DISPLAYTEXT .11 ; Exit | 898 DISPLAYTEXT .11 ; Exit |
772 return | 899 return |
773 | 900 |
774 PLED_more_menu_mask: | 901 PLED_more_menu_mask: |