vielen Dank:
ich langsam dämmerts mir.
ich habe dein *.h u *.cpp file geschrieben, aber eine Meldung bleibt noch:
\Program Files (x86)\Arduino\libraries\SystemTools\SystemTools.cpp:6:26: error: definition of implicitly-declared 'SystemTools::SystemTools()'..
kann ich mir nicht ganz erklären.
*.h file:
#ifndef SystemTools_h
#define SystemTools_h
#include <Arduino.h>
class SystemTools{
private:
unsigned long _onOffCountB;
...
public:
SystemTools();
...
};
#endif
*.cpp file
#include <Arduino.h>
#include <SystemTools.h>
SystemTools::SystemTools();
...
*.ino FIle:
#include <SPI.h>
#include <SystemTools.h>
#include <WS2801_M.h>
// class instances
SystemTools systemTools1;
...