Skip to content

Commit

Permalink
Romi32U4Encoders: Documented the units of the encoder counts.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEGrayson committed Nov 21, 2016
1 parent 0fa0f06 commit ab7e8ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Romi32U4Encoders.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
* To read the right encoder, this class calls
* [attachInterrupt()](http://arduino.cc/en/Reference/attachInterrupt), so there
* will be a compile-time conflict with any other code that defines an ISR for
* an external interrupt directly instead of using attachInterrupt(). */
* an external interrupt directly instead of using attachInterrupt().
*
* The standard Romi motors have a gear ratio of 3952:33 (approximately 120:1).
* The standard Romi encoders give 12 counts per revolution. Therefore, one
* revolution of a Romi wheel corresponds to 12*3952/33 (approximately 1437.09)
* encoder counts as returned by this library.
*/
class Romi32U4Encoders
{

Expand Down

0 comments on commit ab7e8ec

Please sign in to comment.