|
|
@ -12,8 +12,8 @@ TestMode_::TestMode_(void) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void TestMode_::begin(void) {
|
|
|
|
void TestMode_::begin(void) {
|
|
|
|
red.r=101;
|
|
|
|
red.r=101;
|
|
|
|
blue.b=101;
|
|
|
|
blue.b=101;
|
|
|
|
loop_hook_use (this->loopHook);
|
|
|
|
loop_hook_use (this->loopHook);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -117,10 +117,10 @@ void TestMode_::test_matrix () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void TestMode_::run_tests() {
|
|
|
|
void TestMode_::run_tests() {
|
|
|
|
Serial.println("Running tests");
|
|
|
|
Serial.println("Running tests");
|
|
|
|
test_leds();
|
|
|
|
test_leds();
|
|
|
|
test_matrix();
|
|
|
|
test_matrix();
|
|
|
|
Serial.println("Done running tests");
|
|
|
|
Serial.println("Done running tests");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TestMode_ TestMode;
|
|
|
|
TestMode_ TestMode;
|
|
|
|