File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2929dotloop1:
3030 wait 0 gpio DOTCLK ; falling edge
3131 wait 1 gpio DOTCLK ; raising edge
32- in null 2 ; padding
3332 in pins 1 ; read pin data
34- in null 1
33+ in null 1 ; right padding
3534 jmp x-- dotloop1
3635
3736 mov x, y ; load number of pixels
@@ -46,9 +45,8 @@ dotloop1:
4645dotloop2:
4746 wait 0 gpio DOTCLK ; falling edge
4847 wait 1 gpio DOTCLK ; raising edge
49- in null 3 ; padding
48+ in null 1 ; left padding
5049 in pins 1 ; read pin data
51- ;in null 1 ; multiply *2
5250 jmp x-- dotloop2
5351
5452
Original file line number Diff line number Diff line change @@ -584,7 +584,7 @@ bool init()
584584
585585 lcd_width = 128 ;
586586 lcd_height = 32 ;
587- lcd_bitsperpixel = 2 ; // it's only 3, but padding to 4 makes things easier
587+ lcd_bitsperpixel = 2 ;
588588 lcd_pixelsperbyte = 8 / lcd_bitsperpixel ;
589589 lcd_planesperframe = 2 ; // in Whitestar, there's a MSB and a LSB plane
590590 lcd_lineoversampling = LINEOVERSAMPLING_WHITESTAR ; // in Whitestar each line is sent twice
You can’t perform that action at this time.
0 commit comments