fork
Fork of PololuQik2 by
Diff: PololuQik2.h
- Revision:
- 3:01272a06e922
- Parent:
- 2:25c41766d768
--- a/PololuQik2.h Tue Apr 01 20:22:30 2014 +0000 +++ b/PololuQik2.h Sat Apr 05 07:25:28 2014 +0000 @@ -169,6 +169,15 @@ * returns true if it has a time out error */ bool hasTimeoutError(); + + /** + * retrieves the error value from the motor controller and stores it in the + * class internal workings. + * + * @see errorBitSet() + * @see error() + */ + uint8_t getError(); private: @@ -196,7 +205,7 @@ * @see errorBitSet() * @see error() */ - uint8_t getError(); + //uint8_t getError(); /** * sends a single byte to the motor controller