Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagecpp
#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.