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 Mike R

nullSensor.h

Committer:
mjr
Date:
2016-02-15
Revision:
68:edfecf67a931
Parent:
17:ab3cec0c8bf4
Child:
35:e959ffba78fd

File content as of revision 68:edfecf67a931:

// 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.

const int npix = JOYMAX;

class PlungerSensor
{
public:
    PlungerSensor() { }
    
    void init() { }
    int lowResScan() { return 0; }
    bool highResScan(int &pos) { return false; }
    void sendExposureReport(USBJoystick &) { }
};