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

Committer:
mjr
Date:
Sat Dec 19 06:37:19 2015 +0000
Revision:
35:e959ffba78fd
Parent:
17:ab3cec0c8bf4
Child:
44:b5ac89b9cd5d
Keyboard/Media Control interface working, but the extra interface confuses the DOF connector.

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 35:e959ffba78fd 6 #ifndef NULLSENSOR_H
mjr 35:e959ffba78fd 7 #define NULLSENSOR_H
mjr 17:ab3cec0c8bf4 8
mjr 35:e959ffba78fd 9 #include "plunger.h"
mjr 35:e959ffba78fd 10
mjr 35:e959ffba78fd 11 class PlungerSensorNull: public PlungerSensor
mjr 17:ab3cec0c8bf4 12 {
mjr 17:ab3cec0c8bf4 13 public:
mjr 35:e959ffba78fd 14 PlungerSensorNull() { }
mjr 17:ab3cec0c8bf4 15
mjr 35:e959ffba78fd 16 virtual void init() { }
mjr 35:e959ffba78fd 17 virtual bool lowResScan(int &pos) { return false; }
mjr 35:e959ffba78fd 18 virtual bool highResScan(int &pos) { return false; }
mjr 17:ab3cec0c8bf4 19 };
mjr 17:ab3cec0c8bf4 20
mjr 35:e959ffba78fd 21 #endif /* NULLSENSOR_H */