EEPROMS export removed (needed to be fixed, so I preferred to remove in the same commit).
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
/*
|
|
* Author - Bertrand Songis <bsongis@gmail.com>
|
|
*
|
|
* Based on th9x -> http://code.google.com/p/th9x/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef open9x_simulator_h
|
|
#define open9x_simulator_h
|
|
|
|
#include "simulatorinterface.h"
|
|
|
|
class Open9xInterface;
|
|
|
|
class Open9xSimulator : public SimulatorInterface {
|
|
|
|
public:
|
|
|
|
Open9xSimulator(Open9xInterface *);
|
|
|
|
virtual void start(RadioData &radioData, bool tests);
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool timer10ms();
|
|
|
|
virtual uint8_t * getLcd();
|
|
|
|
virtual bool lcdChanged(bool & lightEnable);
|
|
|
|
virtual void setValues(TxInputs &inputs);
|
|
|
|
virtual void getValues(TxOutputs &outputs);
|
|
|
|
virtual void setTrim(unsigned int idx, int value);
|
|
|
|
virtual void getTrims(Trims & trims);
|
|
|
|
virtual unsigned int getPhase();
|
|
|
|
virtual void wheelEvent(uint8_t steps) { }
|
|
|
|
virtual const char * getError();
|
|
|
|
protected:
|
|
|
|
Open9xInterface * open9xInterface;
|
|
|
|
};
|
|
|
|
#endif
|