work in progress

Dependencies:   FastAnalogIn FastIO USBDevice mbed FastPWM SimpleDMA

Fork of Pinscape_Controller by Mike R

Committer:
mkalkbrenner
Date:
Wed Dec 16 15:37:59 2015 +0000
Revision:
38:697e10d8fb80
Parent:
17:ab3cec0c8bf4
fixed default configuration for extension boards

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mjr 17:ab3cec0c8bf4 1 // Null plunger sensor
mjr 17:ab3cec0c8bf4 2 //
mjr 17:ab3cec0c8bf4 3 // This file defines a class that provides the plunger sensor interface
mjr 17:ab3cec0c8bf4 4 // that the main program expects, but with no physical sensor underneath.
mjr 17:ab3cec0c8bf4 5
mjr 17:ab3cec0c8bf4 6 const int npix = JOYMAX;
mjr 17:ab3cec0c8bf4 7
mjr 17:ab3cec0c8bf4 8 class PlungerSensor
mjr 17:ab3cec0c8bf4 9 {
mjr 17:ab3cec0c8bf4 10 public:
mjr 17:ab3cec0c8bf4 11 PlungerSensor() { }
mjr 17:ab3cec0c8bf4 12
mjr 17:ab3cec0c8bf4 13 void init() { }
mjr 17:ab3cec0c8bf4 14 int lowResScan() { return 0; }
mjr 17:ab3cec0c8bf4 15 bool highResScan(int &pos) { return false; }
mjr 17:ab3cec0c8bf4 16 void sendExposureReport(USBJoystick &) { }
mjr 17:ab3cec0c8bf4 17 };
mjr 17:ab3cec0c8bf4 18