Skip to content

Commit

Permalink
recording the time we last changed the ESC
Browse files Browse the repository at this point in the history
  • Loading branch information
jaustindavid committed May 17, 2014
1 parent 93bb7f6 commit f7b3396
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Wiiceiver/ElectronicSpeedController.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ void setLevel(float level) {
#endif
angle = newAngle;
_esc.write(angle);
lastWrite = millis();
}
} // void setLevel(float level)

Expand Down

0 comments on commit f7b3396

Please sign in to comment.