pio_sm_put_blocking() unable to keep FIFO topped.
This commit is contained in:
parent
9b596c80aa
commit
8b67fe9eda
10
src/main.c
10
src/main.c
@ -91,14 +91,16 @@ int main()
|
||||
stdio_init_all();
|
||||
|
||||
// "draw" an horizontal dotted line (?)
|
||||
for (unsigned int c = 0; c < 20; c += 3)
|
||||
for (unsigned int c = 0; c < 5; c++)
|
||||
{
|
||||
frames[0].data[80 * 64 + 50 + c] = 0x55;
|
||||
frames[0].data[80 * 64 + 30 + c] = 0x55;
|
||||
}
|
||||
for (unsigned int c = 0; c < 20; c += 3)
|
||||
/*
|
||||
for (unsigned int c = 0; c < 20; c++)
|
||||
{
|
||||
frames[0].data[80 * 128 + 50 + c] = 0x99;
|
||||
frames[0].data[80 * 128 + 30 + c] = 0x99;
|
||||
}
|
||||
*/
|
||||
|
||||
// PIO and state machines
|
||||
PIO pio = pio0;
|
||||
|
Loading…
Reference in New Issue
Block a user