Slowed down the Game Of Life

This commit is contained in:
alu 2011-05-23 21:39:58 +00:00
parent 75cdc8ca59
commit 9339fa01f6
1 changed files with 1 additions and 0 deletions

View File

@ -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);