Pinscape Controller version 1 fork. This is a fork to allow for ongoing bug fixes to the original controller version, from before the major changes for the expansion board project.
Dependencies: FastIO FastPWM SimpleDMA mbed
Fork of Pinscape_Controller by
nullSensor.h
- Committer:
- mjr
- Date:
- 2015-12-19
- Revision:
- 35:e959ffba78fd
- Parent:
- 17:ab3cec0c8bf4
- Child:
- 44:b5ac89b9cd5d
File content as of revision 35:e959ffba78fd:
// Null plunger sensor // // This file defines a class that provides the plunger sensor interface // that the main program expects, but with no physical sensor underneath. #ifndef NULLSENSOR_H #define NULLSENSOR_H #include "plunger.h" class PlungerSensorNull: public PlungerSensor { public: PlungerSensorNull() { } virtual void init() { } virtual bool lowResScan(int &pos) { return false; } virtual bool highResScan(int &pos) { return false; } }; #endif /* NULLSENSOR_H */