...
Code Block | ||
---|---|---|
| ||
#ifndef CompInterface_h
#define CompInterface_h
#include "Arduino.h"
#include "HardwareConnector.h"
#include "SimulationConnector.h"
class CompInterface {
private:
boolean simulation;
public:
CompInterface();
void resetTick();
void simulate(boolean active);
};
#endif |
...
This file is just the implementation of the CompInterface.h. Note that Arduino.h is an Arduino library for using Arduino methods in C++ code.