wipe full lines
This commit is contained in:
@ -44,7 +44,8 @@ void canvasInit() {
|
|||||||
// between the both MCUs.
|
// between the both MCUs.
|
||||||
// With 8 the transfer of a complete 110 pixel canvas takes
|
// With 8 the transfer of a complete 110 pixel canvas takes
|
||||||
// about 720us.
|
// about 720us.
|
||||||
UCB0BR0 = 8;
|
// 8 was still too fast and caused problems.
|
||||||
|
UCB0BR0 = 16;
|
||||||
UCB0BR1 = 0;
|
UCB0BR1 = 0;
|
||||||
|
|
||||||
// BIT5: UCB0CLK
|
// BIT5: UCB0CLK
|
||||||
|
@ -59,6 +59,12 @@ void gameExec(void *handle) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
canvasShow();
|
canvasShow();
|
||||||
|
for (uint8_t r = 0; r < CANVAS_HEIGHT; r++) {
|
||||||
|
if (canvasIsRowFilled(r)) {
|
||||||
|
canvasWipeRow(r);
|
||||||
|
canvasShow();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void gameInit() {
|
void gameInit() {
|
||||||
|
Reference in New Issue
Block a user