Test the set param mode
Diff: PositionSensor/PositionSensor.h
- Revision:
- 7:dc5f27756e02
- Parent:
- 3:6a0015d88d06
- Child:
- 8:10ae7bc88d6e
--- a/PositionSensor/PositionSensor.h Sat Mar 12 19:55:52 2016 +0000 +++ b/PositionSensor/PositionSensor.h Tue Mar 29 01:05:46 2016 +0000 @@ -20,9 +20,10 @@ DigitalIn *ZSense; //DigitalOut *ZTest; virtual void ZeroEncoderCount(void); - int _CPR; + virtual void ZeroEncoderCountDown(void); + int _CPR, flag, rotations; //int state; - float _offset, MechPosition; + float _offset, MechPosition, dir, test_pos; }; #endif \ No newline at end of file