-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96eaad5
commit 37fa0fb
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Servo Controller App | ||
===================== | ||
|
||
A simple app that tests the functionality of a connected servo motor by reading its initial angle, adjusting the angle from 0 to 180 degrees, and verifying the actual angle at each step. | ||
|
||
Example Output | ||
-------------- | ||
|
||
``` | ||
The number of available servomotors is: 1 | ||
Requested angle 0. Actual current angle is: 0 | ||
Requested angle 1. Actual current angle is: 1 | ||
Requested angle 2. Actual current angle is: 2 | ||
... | ||
Requested angle 180. Actual current angle is: 180 | ||
``` | ||
|
||
If the servo index is out of range: | ||
``` | ||
The index number is bigger than the available servomotors | ||
``` | ||
|
||
If the servo cannot report its angle: | ||
``` | ||
This servo cannot return its angle. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters