File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-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,7 +45,7 @@ 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
5150 jmp x-- dotloop2
5251
@@ -65,7 +64,7 @@ dotloop2:
6564wait_low:
6665 wait 0 gpio DE ; Wait for DE to go low
6766
68- set x, 20 ; Use x as storage for 20 iterations
67+ set x, 20 ; Use x as storage for 20 iterations
6968
7069delay_loop:
7170 nop [31]
Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ bool init()
598598 lcd_pixelsperbyte = 8 / lcd_bitsperpixel ;
599599 lcd_planesperframe = 2 ; // in Whitestar, there's a MSB and a LSB plane
600600 lcd_lineoversampling = LINEOVERSAMPLING_WHITESTAR ; // in Whitestar each line is sent twice
601- // lcd_mergeplanes = MERGEPLANES_ADDSHIFT; // required for correct 2bpp merge
601+ lcd_mergeplanes = MERGEPLANES_ADDSHIFT ; // required for correct 2bpp merge
602602 } else if (dmd_type == DMD_SPIKE1 ) {
603603 dmd_pio = pio0 ;
604604 offset = pio_add_program (dmd_pio , & dmd_reader_spike_program );
You can’t perform that action at this time.
0 commit comments