Lua analog inputs
This commit is contained in:
parent
d29529cbdd
commit
49faaaff03
|
@ -78,6 +78,7 @@ struct_no_prefix engine_configuration_s
|
|||
#define FSIO_ANALOG_INPUT_COUNT 4
|
||||
|
||||
#define LUA_PWM_COUNT 8
|
||||
#define LUA_ANALOG_INPUT_COUNT 8
|
||||
|
||||
! V engines or flat engines would have pairs of shafts with same trigger shape and target position
|
||||
#define BANKS_COUNT 2
|
||||
|
@ -906,7 +907,8 @@ output_pin_e acFanPin;+Optional Radiator Fan used with A/C
|
|||
|
||||
|
||||
pin_output_mode_e[FSIO_COMMAND_COUNT iterate] gpioPinModes;
|
||||
uint8_t[10] unusedpinModesWhereHere;;"", 1, 0, 0, 255, 0
|
||||
uint8_t[2] unusedpinModesWhereHere;;"", 1, 0, 0, 255, 0
|
||||
adc_channel_e[LUA_ANALOG_INPUT_COUNT iterate] luaAnalogInputs;
|
||||
output_pin_e[FSIO_COMMAND_COUNT iterate] fsioOutputPins;todo: more comments
|
||||
uint8_t[10] unusedOutputWhereHere;;"", 1, 0, 0, 255, 0
|
||||
brain_pin_e[EGT_CHANNEL_COUNT iterate] max31855_cs;
|
||||
|
|
|
@ -1541,7 +1541,8 @@ menuDialog = main
|
|||
subMenu = fsioCurve4, "FSIO Curve #4"
|
||||
|
||||
subMenu = std_separator
|
||||
subMenu = luaOutputs, "Lua PWM Outputs"
|
||||
subMenu = luaOutputs, "Lua PWM Outputs"
|
||||
subMenu = luaAnalogInputs, "Lua Analog Inputs"
|
||||
|
||||
subMenu = std_separator
|
||||
subMenu = tcuControls, "Transmission Settings"
|
||||
|
@ -3328,6 +3329,16 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
|||
field = "output #6", luaOutputPins7
|
||||
field = "output #7", luaOutputPins8
|
||||
|
||||
dialog = luaAnalogInputs, "Lua Analog Inputs"
|
||||
field = "Input #0", luaAnalogInputs1
|
||||
field = "Input #1", luaAnalogInputs2
|
||||
field = "Input #2", luaAnalogInputs3
|
||||
field = "Input #3", luaAnalogInputs4
|
||||
field = "Input #4", luaAnalogInputs5
|
||||
field = "Input #5", luaAnalogInputs6
|
||||
field = "Input #6", luaAnalogInputs7
|
||||
field = "Input #7", luaAnalogInputs8
|
||||
|
||||
dialog = transmissionPanel
|
||||
field = "TCU Enabled" tcuEnabled
|
||||
|
||||
|
|
Loading…
Reference in New Issue