Slowed down the Game Of Life
This commit is contained in:
parent
75cdc8ca59
commit
9339fa01f6
|
@ -292,6 +292,7 @@ void gameoflife() {
|
||||||
/* the main part */
|
/* the main part */
|
||||||
pfprint(pf1);
|
pfprint(pf1);
|
||||||
for (cycle = 1; cycle < GOL_CYCLES; ++cycle) {
|
for (cycle = 1; cycle < GOL_CYCLES; ++cycle) {
|
||||||
|
wait(100);
|
||||||
DEBUG_BYTE(0, (uint8_t)(GOL_CYCLES-cycle) & 0xff); DEBUG_BYTE(1, SREG);
|
DEBUG_BYTE(0, (uint8_t)(GOL_CYCLES-cycle) & 0xff); DEBUG_BYTE(1, SREG);
|
||||||
wait(GOL_DELAY);
|
wait(GOL_DELAY);
|
||||||
pfcopy(pf2, pf1);
|
pfcopy(pf2, pf1);
|
||||||
|
|
Loading…
Reference in New Issue