svd for FreeRTOS, state doc updates

This commit is contained in:
camrbuss
2020-05-04 19:32:38 -06:00
parent e9aa6b867c
commit b7ba3f11ce
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -40,6 +40,8 @@ The current state of an axis is indicated by `<axis>.current_state`. The user ca
* Can only be entered if the motor is calibrated (`<axis>.motor.is_calibrated`) or the motor direction is unspecified (`<axis>.motor.config.direction == 1`)
10. `AXIS_STATE_ENCODER_DIR_FIND` Run encoder direction search.
* Can only be entered if the motor is calibrated (`<axis>.motor.is_calibrated`).
11. `AXIS_STATE_HOMING` Run axis homing function.
* Endstops must be enabled to use this feature.
### Startup Procedure
+1 -1
View File
@@ -51,7 +51,7 @@ The debouncing time for this endstop. Most switches exhibit some sort of bounce
### is_active_high
This is how you configure the endstop to be either "NPN" or "PNP". An "NPN" configuration would be `is_active_high = False` whereas a PNP configuration is `is_active_high = True`. Refer to the following table for more information:
3D printer endstops (like those that come with a RAMPS 1.4) are typically configuration **4**.
3D printer endstops (like those that come with a RAMPS 1.4) are typically configuration **4**. Typically configuration **1** or **3** is preferred when using mechanical switches as the most common failure mode leaves the switch open.
![Endstop configuration](Endstop_configuration.png)