Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 483:0635fbb2fcf5
Tweaking gamma values
author | heinrichsweikamp |
---|---|
date | Thu, 13 Oct 2011 09:41:02 +0200 |
parents | 472bccc39aeb |
children | 2ac77db9c150 |
comparison
equal
deleted
inserted
replaced
482:8e1fb9cdd62a | 483:0635fbb2fcf5 |
---|---|
659 movlw 0x01 | 659 movlw 0x01 |
660 rcall PLED_DataWrite ; Display ON | 660 rcall PLED_DataWrite ; Display ON |
661 return | 661 return |
662 | 662 |
663 | 663 |
664 PLED_brightness_full: | 664 PLED_brightness_full: ;mH |
665 ; Mid | |
665 movlw 0x70 | 666 movlw 0x70 |
666 rcall PLED_CmdWrite | 667 rcall PLED_CmdWrite |
668 movlw 0x1B | |
669 rcall PLED_DataWrite | |
670 movlw 0x80 | |
671 rcall PLED_DataWrite | |
672 movlw 0x71 | |
673 rcall PLED_CmdWrite | |
667 movlw 0x1F | 674 movlw 0x1F |
668 rcall PLED_DataWrite | 675 rcall PLED_DataWrite |
669 movlw 0x00 | 676 movlw 0x00 |
670 rcall PLED_DataWrite | 677 rcall PLED_DataWrite |
678 movlw 0x72 | |
679 rcall PLED_CmdWrite | |
680 movlw 0x22 | |
681 rcall PLED_DataWrite | |
682 movlw 0x00 | |
683 rcall PLED_DataWrite | |
684 | |
685 movlw 0x73 | |
686 rcall PLED_CmdWrite | |
687 movlw 0x17 | |
688 rcall PLED_DataWrite | |
689 movlw 0x11 | |
690 rcall PLED_DataWrite | |
691 movlw 0x74 | |
692 rcall PLED_CmdWrite | |
693 movlw 0x1A | |
694 rcall PLED_DataWrite | |
695 movlw 0x0E | |
696 rcall PLED_DataWrite | |
697 | |
698 movlw 0x75 | |
699 rcall PLED_CmdWrite | |
700 movlw 0x1D | |
701 rcall PLED_DataWrite | |
702 movlw 0x15 | |
703 rcall PLED_DataWrite | |
704 movlw 0x76 | |
705 rcall PLED_CmdWrite | |
706 movlw 0x18 | |
707 rcall PLED_DataWrite | |
708 movlw 0x11 | |
709 rcall PLED_DataWrite | |
710 | |
711 movlw 0x77 | |
712 rcall PLED_CmdWrite | |
713 movlw 0x1E | |
714 rcall PLED_DataWrite | |
715 movlw 0x18 | |
716 rcall PLED_DataWrite | |
717 movlw 0x78 | |
718 rcall PLED_CmdWrite | |
719 movlw 0x1D | |
720 rcall PLED_DataWrite | |
721 movlw 0x11 | |
722 rcall PLED_DataWrite | |
723 return | |
724 | |
725 ;PLED_brightness_full: | |
726 ; Full | |
727 movlw 0x70 | |
728 rcall PLED_CmdWrite | |
729 movlw 0x1F | |
730 rcall PLED_DataWrite | |
731 movlw 0x00 | |
732 rcall PLED_DataWrite | |
671 movlw 0x71 | 733 movlw 0x71 |
672 rcall PLED_CmdWrite | 734 rcall PLED_CmdWrite |
673 movlw 0x23 | 735 movlw 0x23 |
674 rcall PLED_DataWrite | 736 rcall PLED_DataWrite |
675 movlw 0x80 | 737 movlw 0x80 |
717 rcall PLED_CmdWrite | 779 rcall PLED_CmdWrite |
718 movlw 0x21 | 780 movlw 0x21 |
719 rcall PLED_DataWrite | 781 rcall PLED_DataWrite |
720 movlw 0x15 | 782 movlw 0x15 |
721 rcall PLED_DataWrite | 783 rcall PLED_DataWrite |
722 | 784 return |
723 return | 785 |
724 | 786 |
725 PLED_brightness_low: | 787 PLED_brightness_low: |
788 ;Low | |
726 movlw 0x70 | 789 movlw 0x70 |
727 rcall PLED_CmdWrite | 790 rcall PLED_CmdWrite |
728 movlw 0x14 | 791 movlw 0x14 |
729 rcall PLED_DataWrite | 792 rcall PLED_DataWrite |
730 movlw 0x00 | 793 movlw 0x00 |