This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2016-07-18 02:03:03 +00:00
|
|
|
#ifndef DEBUG_H
|
|
|
|
#define DEBUG_H
|
|
|
|
#include <Arduino.h>
|
2016-11-18 10:21:50 +00:00
|
|
|
#include "LEDInterface.h"
|
2016-07-18 02:03:03 +00:00
|
|
|
|
|
|
|
class Debug
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void printMicrosecondsPerScan(); //print microseconds per scan every second
|
|
|
|
void printScansPerSecond(); //print scans per second every second
|
2016-09-25 03:58:54 +00:00
|
|
|
void wait_for_OS(LEDInterface& led, uint8_t seconds); //wait for OS to recongnize keyboard
|
2016-07-18 02:03:03 +00:00
|
|
|
};
|
|
|
|
#endif
|