##################################
# THIS FILE MUST NOT BE CHANGED! #
##################################
# v 04.11.2012 converted with converter v006 for BLHeliTool v007, 

$ColNumber= 3;  #should be made large enough to accomodate all option fields
$RowNumber= 7; #8;  #should be made large enough to accomodate all option fields


@OptionListHeader= (
{
  name => 'Name',
  type => 'OPTTYPE_STR', len => 16, ppos => 0, min => 0, max => 0, steps => 0,
  adr => '1A60',
  size => 16,
  column => 1,
},{
  name => 'MCU',
  type => 'OPTTYPE_STR+OPTTYPE_READONLY', len => 16, ppos => 0, min => 0, max => 0, steps => 0,
  adr => '1A50',
  size => 16,
},{
  name => 'BESC',
  type => 'OPTTYPE_STR+OPTTYPE_READONLY', len => 16, ppos => 0, min => 0, max => 0, steps => 0,
  adr => '1A40',
  size => 16,
},{
  name => 'Revison',
  type => 'OPTTYPE_STR+OPTTYPE_READONLY', len => 0, ppos => 0, min => 0, max => 0, steps => 0,
  adr => '1A00',
  size => 2,
},{
  name => 'Mode',
  type => 'OPTTYPE_STR+OPTTYPE_READONLY', len => 0, ppos => 0, min => 0, max => 0, steps => 0,
  adr => '1A0D',
  size => 2,
  modes => {  main => 'A55A', tail => '5AA5', multi => '55AA' },
}
);



########################################################################################################################################
# BLHeli Layout 15 MAIN          #
#---------------------------------

my @OptionListLayout15Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 6, default => 4, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ 'off', '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 7, default => 5, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.25', '0.38', '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Governor Range',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A17', 
  size => 1, 
  choices => [ 'high', 'low' ],
  boxname => 'Gov Range',
  eepname => 'Eep_Pgm_Gov_Range',
  column => 1,
  expert => 1,
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 200, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 120, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);

########################################################################################################################################
# BLHeli Layout 15 TAIL          #
#---------------------------------

my @OptionListLayout15Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 4, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Motor_Idle',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 7, default => 5, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.25', '0.38', '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 4, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);

########################################################################################################################################
# BLHeli Layout 15 MULTI         #
#---------------------------------

my @OptionListLayout15Multi= (
{
  name => 'Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 6, default => 1, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ 'off', '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 7, default => 5, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.25', '0.38', '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 2, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 80, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 40, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);






########################################################################################################################################
# BLHeli Layout 14 MAIN          #
#---------------------------------

my @OptionListLayout14Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 6, default => 4, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ 'off', '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Governor Range',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A17', 
  size => 1, 
  choices => [ 'high', 'low' ],
  boxname => 'Gov Range',
  eepname => 'Eep_Pgm_Gov_Range',
  column => 1,
  expert => 1,
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 200, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 120, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);


########################################################################################################################################
# BLHeli Layout 14 TAIL          #
#---------------------------------

my @OptionListLayout14Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 4, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Motor_Idle',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 4, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);

########################################################################################################################################
# BLHeli Layout 14 MULTI         #
#---------------------------------

my @OptionListLayout14Multi= (
{
  name => 'Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 6, default => 1, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ 'off', '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 2, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Demag Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A1F', 
  size => 1, 
  choices => [ 'off', '15/0', '15/7.5', '7.5/7.5', '7.5/15' ],
  boxname => 'Demag Compen',
  eepname => 'Eep_Pgm_Demag_Comp',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 80, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 40, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);




########################################################################################################################################
# BLHeli Layout 13 MAIN          #
#---------------------------------

my @OptionListLayout13Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Governor Range',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A17', 
  size => 1, 
  choices => [ 'high', 'low' ],
  boxname => 'Gov Range',
  eepname => 'Eep_Pgm_Gov_Range',
  column => 1,
  expert => 1,
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  expert => 1,
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 200, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 120, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);


########################################################################################################################################
# BLHeli Layout 13 TAIL          #
#---------------------------------

my @OptionListLayout13Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 4, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Motor_Idle',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 4, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 250, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);

########################################################################################################################################
# BLHeli Layout 13 MULTI          #
#---------------------------------

my @OptionListLayout13Multi= (
{
  name => 'Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Startup Method',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 2, steps => 1, 
  adr => '1A18', 
  size => 1, 
  choices => [ 'stepped', 'direct' ],
  boxname => 'Startup Method',
  eepname => 'Eep_Pgm_Startup_Method',
  column => 1,
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Program',
  expert => 1,
},{
  name => 'Throttle Rate',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 13, steps => 1, 
  adr => '1A1E', 
  size => 1, 
  choices => [ '2', '3', '4', '6', '8', '12', '16', '24', '32', '48', '64', '128', '255' ],
  boxname => 'Throttle Rate',
  eepname => 'Eep_Pgm_Throttle_Rate',
  column => 2,
  expert => 1,
},{
  name => 'Throttle Min',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 37, steps => 1, 
  adr => '1A19', 
  size => 1, 
  boxname => 'Throttle Min',
  eepname => 'Eep_Pgm_Ppm_Min_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Throttle Max',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 208, steps => 1, 
  adr => '1A1A', 
  size => 1, 
  boxname => 'Throttle Max',
  eepname => 'Eep_Pgm_Ppm_Max_Throttle',
  expert => 1,
  equation => '$s= int( 4*$x + 1000 +0.5 );',
},{
  name => 'Beacon Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 80, steps => 1, 
  adr => '1A1C', 
  size => 1, 
  boxname => 'Beacon Strength',
  eepname => 'Eep_Pgm_Beacon_Strength',
  column => 3,
  expert => 1,
},{
  name => 'Beacon Delay',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A1D', 
  size => 1, 
  choices => [ '30 sec', '1 min', '2 min', '3 min', 'infinite' ],
  boxname => 'Beacon Delay',
  eepname => 'Eep_Pgm_Beacon_Delay',
  expert => 1,
},{
  name => 'Beep Strength',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 40, steps => 1, 
  adr => '1A1B', 
  size => 1, 
  boxname => 'Beep Strength',
  eepname => 'Eep_Pgm_Beep_Strength',
  expert => 1,
}
);





########################################################################################################################################
# BLHeli Layout 12 MAIN          #
#---------------------------------
my @OptionListLayout12Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
  column => 3,
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Governor Range',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A17', 
  size => 1, 
  choices => [ 'high', 'low' ],
  boxname => 'Gov Range',
  eepname => 'Eep_Pgm_Gov_Range',
  column => 1,
  expert => 1,
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
  expert => 1,
}
);

##################################
# BLHeli Layout12 TAIL           #
#---------------------------------
my @OptionListLayout12Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 4, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Motor_Idle',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
  column => 3,
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 4, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);


##################################
# BLHeli Layout12 MULTI          #
#---------------------------------
my @OptionListLayout12Multi= (
{
  name => 'Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.67', '0.8', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
  column => 3,
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);



########################################################################################################################################
# BLHeli Layout11 MAIN           #
#---------------------------------
my @OptionListLayout11Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
  column => 3,
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
  column => 1,
  expert => 1,
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
  expert => 1,
}
);



##################################
# BLHeli Layout11 TAIL           #
#---------------------------------
my @OptionListLayout11Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 4, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Motor_Idle',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
  column => 3,
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 4, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);



##################################
# BLHeli Layout11 MULTI           #
#---------------------------------
my @OptionListLayout11Multi= (
{
  name => 'Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Gain',
  eepname => 'Eep_Pgm_Motor_Gain',
  column => 2,
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor Timing',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A15', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Mot Timing',
  eepname => 'Eep_Pgm_Comm_Timing',
  column => 3,
},{
  name => 'Damping Force',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 2, steps => 1, 
  adr => '1A16', 
  size => 1, 
  choices => [ 'very low', 'low', 'medium low', 'medium high', 'high' ],
  boxname => 'Damping Force',
  eepname => 'Eep_Pgm_Damping_Force',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped light', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);



########################################################################################################################################
# BLHeli Layout10 MAIN           #
#---------------------------------
my @OptionListLayout10Main= (
{
  name => 'Governor P Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A03', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov P Gain',
  eepname => 'Eep_Pgm_Gov_P_Gain',
  column => 2,
},{
  name => 'Governor I Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 13, default => 7, steps => 1, 
  adr => '1A04', 
  size => 1, 
  choices => [ '0.13', '0.17', '0.25', '0.38', '0.50', '0.75', '1.00', '1.5', '2.0', '3.0', '4.0', '6.0', '8.0' ],
  boxname => 'Gov I Gain',
  eepname => 'Eep_Pgm_Gov_I_Gain',
},{
  name => 'Governor Mode',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 4, default => 1, steps => 1, 
  adr => '1A05', 
  size => 1, 
  choices => [ 'Tx', 'arm', 'setup', 'off' ],
  boxname => 'Gov Mode',
  eepname => 'Eep_Pgm_Gov_Mode',
},{
  name => 'Governor Setup Target',
  type => 'OPTTYPE_UC', len => 3, ppos => 0, min => 0, max => 255, default => 180, steps => 1, 
  adr => '1A11', 
  size => 1, 
  boxname => 'Gov Set Target',
  eepname => 'Eep_Pgm_Gov_Setup_Target',
  equation => '$s= int( 100.0*$x/255.0 +0.5 ).\' %\';',
},{
  name => 'Low Voltage Limit',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A06', 
  size => 1, 
  choices => [ '3.0 V/cell', '3.1 V/cell', '3.2 V/cell', '3.3 V/cell', '3.4 V/cell' ],
  boxname => 'Low Volt Limit',
  eepname => 'Eep_Pgm_Low_Voltage_Lim',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 1, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 2, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
  column => 3,
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Re-Arm at Start',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 0, steps => 1, 
  adr => '1A10', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Rearm at Start',
  eepname => 'Eep_Main_Rearm_Start',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);


##################################
# BLHeli Layout10 TAIL           #
#---------------------------------
my @OptionListLayout10Tail= (
{
  name => 'Tail Gain',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A07', 
  size => 1, 
  choices => [ '0.75', '0.88', '1.00', '1.12', '1.25' ],
  boxname => 'Tail Gain',
  eepname => 'Eep_Pgm_Tail_Gain',
  column => 2,
},{
  name => 'Tail Idle Speed',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A08', 
  size => 1, 
  choices => [ 'low', 'medium low', 'medium', 'medium high', 'high' ],
  boxname => 'Idle Speed',
  eepname => 'Eep_Pgm_Tail_Idle',
},{
  name => 'Startup Power',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A09', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.50' ],
  boxname => 'Startup Power',
  eepname => 'Eep_Pgm_Startup_Pwr',
},{
  name => 'Startup RPM',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 3, steps => 1, 
  adr => '1A12', 
  size => 1, 
  choices => [ '0.50', '0.75', '1.00', '1.25', '1.5' ],
  boxname => 'Startup RPM',
  eepname => 'Eep_Pgm_Startup_Rpm',
},{
  name => 'Startup Acceleration',
  type => 'OPTTYPE_LISTB', len => 0, ppos => 0, min => 1, max => 5, default => 5, steps => 1, 
  adr => '1A13', 
  size => 1, 
  choices => [ '0.4', '0.7', '1.0', '1.5', '2.3' ],
  boxname => 'Startup Accel',
  eepname => 'Eep_Pgm_Startup_Accel',
},{
  name => 'Motor PWM Frequency',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 3, default => 3, steps => 1, 
  adr => '1A0A', 
  size => 1, 
  choices => [ 'high', 'low', 'damped' ],
  boxname => 'Mot PWM Freq',
  eepname => 'Eep_Pgm_Pwm_Freq',
  column => 3,
},{
  name => 'Motor Direction',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0B', 
  size => 1, 
  choices => [ 'normal', 'reversed' ],
  boxname => 'Mot Direction',
  eepname => 'Eep_Pgm_Direction_Rev',
},{
  name => 'Voltage Compensation',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A14', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Volt Compensat',
  eepname => 'Eep_Pgm_Volt_Comp',
},{
  name => 'Input PWM Polarity',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 1, max => 2, default => 1, steps => 1, 
  adr => '1A0C', 
  size => 1, 
  choices => [ 'positive', 'negative' ],
  boxname => 'Input PWM Pol',
  eepname => 'Eep_Pgm_Input_Pol',
},{
  name => 'Programming by Tx',
  type => 'OPTTYPE_LISTA', len => 0, ppos => 0, min => 0, max => 1, default => 1, steps => 1, 
  adr => '1A0F', 
  size => 1, 
  choices => [ 'off', 'on' ],
  boxname => 'Program by Tx',
  eepname => 'Eep_Enable_TX_Pgm',
}
);




########################################################################################################################################
#register the options 

@{$OptionListAll{layout15main}}= @OptionListLayout15Main;
@{$OptionListAll{layout15tail}}= @OptionListLayout15Tail;
@{$OptionListAll{layout15multi}}= @OptionListLayout15Multi;

@{$OptionListAll{layout14main}}= @OptionListLayout14Main;
@{$OptionListAll{layout14tail}}= @OptionListLayout14Tail;
@{$OptionListAll{layout14multi}}= @OptionListLayout14Multi;

@{$OptionListAll{layout13main}}= @OptionListLayout13Main;
@{$OptionListAll{layout13tail}}= @OptionListLayout13Tail;
@{$OptionListAll{layout13multi}}= @OptionListLayout13Multi;

@{$OptionListAll{layout12main}}= @OptionListLayout12Main;
@{$OptionListAll{layout12tail}}= @OptionListLayout12Tail;
@{$OptionListAll{layout12multi}}= @OptionListLayout12Multi;

@{$OptionListAll{layout11main}}= @OptionListLayout11Main;
@{$OptionListAll{layout11tail}}= @OptionListLayout11Tail;
@{$OptionListAll{layout11multi}}= @OptionListLayout11Multi;

@{$OptionListAll{layout10main}}= @OptionListLayout10Main;
@{$OptionListAll{layout10tail}}= @OptionListLayout10Tail;




########################################################################################################################################
#set the hex file filters

@BESCList= ( 'DP_3A', 
             'HIMODEL_COOL_22A', 'HIMODEL_COOL_33A', 'HIMODEL_COOL_41A',
             'RCTIMER_6A',
             'SKYWALKER_20A', 'SKYWALKER_40A', 
             'SUPERMICRO_3P5A', 
             'TURNIGY_AE_20A', 'TURNIGY_AE_25A', 'TURNIGY_AE_30A', 'TURNIGY_AE_45A',
             'TURNIGY_PLUSH_6A', 'TURNIGY_PLUSH_10A', 'TURNIGY_PLUSH_12A', 'TURNIGY_PLUSH_18A', 
             'TURNIGY_PLUSH_25A', 'TURNIGY_PLUSH_30A', 'TURNIGY_PLUSH_40A', 'TURNIGY_PLUSH_60A', 'TURNIGY_PLUSH_80A',
             'XP_3A', 'XP_7A', 'XP_7A_FAST', 'XP_12A', 'XP_18A', 'XP_25A' 
           );
@REVList= ( '9.0', '8.0', '7.0', '6.1', '5.0', '4.1' );
@MODEList= ( 'MAIN', 'TAIL', 'MULTI' );

@BESCListSansA= ( 
                'HIMODEL_COOL_22', 'HIMODEL_COOL_33', 'HIMODEL_COOL_41',
                'SKYWALKER_20', 'SKYWALKER_40', 
                'TURNIGY_AE_20', 'TURNIGY_AE_25', 'TURNIGY_AE_30',
              );





