AP_Button: add note to desc's on how to determine GPIO pin numbers
This commit is contained in:
parent
9d6f9bf907
commit
958e36f80b
@ -40,28 +40,28 @@ const AP_Param::GroupInfo AP_Button::var_info[] = {
|
||||
|
||||
// @Param: PIN1
|
||||
// @DisplayName: First button Pin
|
||||
// @Description: Digital pin number for first button input.
|
||||
// @Description: Digital pin number for first button input. Some common values are given, but see the Wiki's "GPIOs" page for how to determine the pin number for a given autopilot.
|
||||
// @User: Standard
|
||||
// @Values: -1:Disabled,50:AUXOUT1,51:AUXOUT2,52:AUXOUT3,53:AUXOUT4,54:AUXOUT5,55:AUXOUT6
|
||||
AP_GROUPINFO("PIN1", 1, AP_Button, pin[0], -1),
|
||||
|
||||
// @Param: PIN2
|
||||
// @DisplayName: Second button Pin
|
||||
// @Description: Digital pin number for second button input.
|
||||
// @Description: Digital pin number for second button input. Some common values are given, but see the Wiki's "GPIOs" page for how to determine the pin number for a given autopilot.
|
||||
// @User: Standard
|
||||
// @Values: -1:Disabled,50:AUXOUT1,51:AUXOUT2,52:AUXOUT3,53:AUXOUT4,54:AUXOUT5,55:AUXOUT6
|
||||
AP_GROUPINFO("PIN2", 2, AP_Button, pin[1], -1),
|
||||
|
||||
// @Param: PIN3
|
||||
// @DisplayName: Third button Pin
|
||||
// @Description: Digital pin number for third button input.
|
||||
// @Description: Digital pin number for third button input. Some common values are given, but see the Wiki's "GPIOs" page for how to determine the pin number for a given autopilot.
|
||||
// @User: Standard
|
||||
// @Values: -1:Disabled,50:AUXOUT1,51:AUXOUT2,52:AUXOUT3,53:AUXOUT4,54:AUXOUT5,55:AUXOUT6
|
||||
AP_GROUPINFO("PIN3", 3, AP_Button, pin[2], -1),
|
||||
|
||||
// @Param: PIN4
|
||||
// @DisplayName: Fourth button Pin
|
||||
// @Description: Digital pin number for fourth button input.
|
||||
// @Description: Digital pin number for fourth button input. Some common values are given, but see the Wiki's "GPIOs" page for how to determine the pin number for a given autopilot.
|
||||
// @User: Standard
|
||||
// @Values: -1:Disabled,50:AUXOUT1,51:AUXOUT2,52:AUXOUT3,53:AUXOUT4,54:AUXOUT5,55:AUXOUT6
|
||||
AP_GROUPINFO("PIN4", 4, AP_Button, pin[3], -1),
|
||||
|
Loading…
Reference in New Issue
Block a user