You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/src/Kaleidoscope-Model01-TestMo...

23 lines
514 B

8 years ago
#pragma once
8 years ago
#include <Arduino.h>
#include "Kaleidoscope.h"
8 years ago
class TestMode_ : public KaleidoscopePlugin {
8 years ago
public:
TestMode_(void);
void begin();
8 years ago
private:
static void run_tests();
static void test_leds();
static void test_matrix();
static void wait_for_keypress();
static void loopHook(bool postClear);
static void set_leds(uint8_t r, uint8_t g, uint8_t b);
8 years ago
};
extern TestMode_ TestMode;
Key handle_keyswitch_event_test(Key mappedKey, byte row, byte col, uint8_t keyState);