Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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