29 lines
579 B
C++
29 lines
579 B
C++
/*
|
|
Blink
|
|
Turns on an LED on for one second, then off for one second, repeatedly.
|
|
|
|
This example code is in the public domain.
|
|
*/
|
|
|
|
#include <cstdlib>
|
|
#include "lua.hpp"
|
|
#include "log.h"
|
|
#include "matrix.h"
|
|
|
|
void setup() {
|
|
// initialize the digital pin as an output.
|
|
// Pin 13 has an LED connected on most Arduino boards:
|
|
//pinMode(13, OUTPUT);
|
|
LogOut.begin(9600);
|
|
|
|
debug_log("Setting up matrix");
|
|
setup_matrix();
|
|
debug_log("Matrix initted, starting lua");
|
|
l_init();
|
|
debug_log("Lua started");
|
|
}
|
|
|
|
void loop() {
|
|
//debug_log("Lua frame");
|
|
l_frame();
|
|
}
|