comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 577:e3ffc6d62a63

minor clean
author heinrichsweikamp
date Sun, 22 Apr 2012 21:32:04 +0200
parents ab2686087bce
children 963383a9b624
comparison
equal deleted inserted replaced
576:ab2686087bce 577:e3ffc6d62a63
850 movlw 0x0E 850 movlw 0x0E
851 rcall PLED_DataWrite 851 rcall PLED_DataWrite
852 852
853 return 853 return
854 854
855 PLED_set_color:;Converts 8Bit RGB b'RRRGGGBB' into 16Bit RGB b'RRRRRGGGGGGBBBBB' 855 PLED_set_color:;Converts 8Bit RGB b'RRRGGGBB' into 16Bit RGB b'RRRRRGGG GGGBBBBB'
856 movwf oled1_temp ; Get 8Bit RGB b'RRRGGGBB' 856 movwf oled1_temp ; Get 8Bit RGB b'RRRGGGBB'
857 movff oled1_temp, oled2_temp ; Copy 857 movff oled1_temp, oled2_temp ; Copy
858 858
859 ; Mask Bit 7,6,5,4,3,2 859 ; Mask Bit 7,6,5,4,3,2
860 movlw b'00000011' 860 movlw b'00000011'