Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Conway64 {
Conway64(SPI_HandleTypeDef* hSPI);
virtual ~Conway64();
// initialize
void init();
// add glider with top left cell at (i, j)
void addGlider(int i, int j);
void addBlinker(int i, int j);
// update simulation
void update();
// render to LED grid
void render();
// signal to thread
void signal();
// test init SPI
void testInit();
// test SPI
void test();
BitBuf88 _grid;
MAX7219* _max7219;
osThreadId _conwayTaskHandle;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.