fork
Fork of PololuQik2 by
Revision 3:01272a06e922, committed 2014-04-05
- Comitter:
- tashworth
- Date:
- Sat Apr 05 07:25:28 2014 +0000
- Parent:
- 2:25c41766d768
- Commit message:
- 4-5-2014
Changed in this revision
PololuQik2.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 25c41766d768 -r 01272a06e922 PololuQik2.h --- 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