namespace gol {
static unsigned long Matrix[129][2];
static unsigned long Canvas[129][2];
void writeBuf(unsigned long *buf) {
buf[0] = 1;
}
}
using namespace gol;
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
memset(Matrix, 0UL, sizeof(Matrix));
memset(Canvas, 0UL, sizeof(Matrix));
writeBuf(Matrix);
Serial1.println(&Matrix[0]);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1); // this speeds up the simulation
}