...
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.
CompInterface.cpp
Code Block | ||
---|---|---|
| ||
#include "Arduino.h"
#include "CompInterface.h"
boolean simulation;
HardwareConnector connector;
CompInterface::CompInterface() {
simulation = false;
}
void CompInterface::resetTick() {
//TODO: Implement some code
}
void CompInterface::simulate(boolean active) {
simulation = active;
} |
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.