work in progress

Dependencies:   FastAnalogIn FastIO USBDevice mbed FastPWM SimpleDMA

Fork of Pinscape_Controller by Mike R

nullSensor.h

Committer:
mkalkbrenner
Date:
2015-12-16
Revision:
38:697e10d8fb80
Parent:
17:ab3cec0c8bf4

File content as of revision 38:697e10d8fb80:

// 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 &) { }
};