27 lines
298 B
C++
27 lines
298 B
C++
#ifndef PROGRAM_H
|
|
#define PROGRAM_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include "Encoder.h"
|
|
|
|
class Program {
|
|
public:
|
|
/**
|
|
* Program startup
|
|
*/
|
|
Program();
|
|
|
|
/**
|
|
* Program main loop
|
|
*/
|
|
void loop();
|
|
private:
|
|
/**
|
|
* Encoder object
|
|
*/
|
|
Encoder* encoder;
|
|
};
|
|
|
|
#endif
|