|
PServo v0.2.1
|
#include <PServo.h>
Public Attributes | |
| State | state |
Current state of the ps::PServo machine. | |
| unsigned long | pc |
| Last registered process counter. | |
| unsigned long *const | timer |
| Pointer to the timer variable in use. | |
| unsigned char const | min |
| Minimal position that this machine can be. | |
| unsigned char const | max |
| Maximum position that this machine can be. | |
| bool const | is_resetable |
| Will the machine reset after it's halted? | |
| unsigned char | curr_action |
| Says wich action it's trying to perform. | |
| unsigned char | active_action |
| Which action is, actually, performing. | |
| unsigned char | actions_count |
| How much actions was registred. | |
| unsigned char | pos |
| Current servo position, will not be written. | |
| unsigned short | delay |
| Delay stored for the current action move. | |
List of all the private properties of ps::PServo. It's primary useful for testing and monitoring strategies, but be aware that you cannot hack those values inside the class, those are read only througth this struct.
Usage example: