Pár kép a készülő panelről. Már benne van a csatlakozó és a kvarc.
..................................................................................................................
Definíciók:
/*
Buttons
| UP |
|DOWN |
|ENTER|
1. Model Type
2. Stick configuration
3. Reverse
4. Dual Rate
5. EPA
6. Subtrim
7. Mixers
8. Switches
9. Write Settings
1. Exit
1. Acro
2. H-120
3. H-90
4. H-140
2. Exit
1. Mode-1
2. Mode-2
3. Mode-3
4. Mode-4
3. Exit
CH1 ->
CH2 ->
CH3 <-
CH4 <-
CH5 ->
CH6 ->
4. Exit
CH1 0: 80 1: 100
CH2 0: 90 1: 120
CH4 0: 64 1: 100
CH5 0: 50 1: 110
CH6 0: 50 1: 100
5. Exit
CH1 <- 100 100 ->
CH2 <- 100 90 ->
CH3 <- 50 50 ->
CH4 <- 100 100 ->
CH5 <- 100 100 ->
CH6 <- 100 100 ->
6. Exit
CH1: 0
CH2: 3
CH3: -10
CH4: 8
CH5: 0
CH6: 0
7. Exit
Mixer 1 SWITCH A
CH1 -> CH2 100
Mixer 2 SWITCH A
CH2 -> CH1 -100
Mixer 3 OFF
CH4 -> CH5 0
8. Exit
SWITCH A: NULL
SWITCH B: Dual Rate
*/
#define MODEL_STICK_CONFIGURATION 2
#define MODE1 0x00
#define MODE2 0x10
#define MODE3 0x20
#define MODE4 0x30
#define ACRO 0x00
#define H_120 0x02
#define H_90 0x03
#define H_140 0x04
#define REVERSE_BITS 3
#define CH1_DualRate_ON_value 4 // -> 0..100%
#define CH1_DualRate_OFF_value 5 // -> 0..100%
#define CH2_DualRate_ON_value 6 // -> 0..100%
#define CH2_DualRate_OFF_value 7 // -> 0..100%
#define CH4_DualRate_ON_value 8 // -> 0..100%
#define CH4_DualRate_OFF_value 9 // -> 0..100%
#define Swash_AFR_CH1 10 // -> -100..+100 (two's > 0x9c..0x64)
#define Swash_AFR_CH2 11 // -> -100..+100 (two's > 0x9c..0x64)
#define Swash_AFR_CH6 12 // -> -100..+100 (two's > 0x9c..0x64)
#define CH1_Endpoint_1 13 // -> 0..120%
#define CH1_Endpoint_2 14 // -> 0..120%
#define CH2_Endpoint_1 15 // -> 0..120%
#define CH2_Endpoint_2 16 // -> 0..120%
#define CH3_Endpoint_1 17 // -> 0..120%
#define CH3_Endpoint_2 18 // -> 0..120%
#define CH4_Endpoint_1 19 // -> 0..120%
#define CH4_Endpoint_2 20 // -> 0..120%
#define CH5_Endpoint_1 21 // -> 0..120%
#define CH5_Endpoint_2 22 // -> 0..120%
#define CH6_Endpoint_1 23 // -> 0..120%
#define CH6_Endpoint_2 24 // -> 0..120%
#define Throttle_Curve_EP0_NORMAL 25 // -> 0..100%
#define Throttle_Curve_EP0_ID 26 // -> 0..100%
#define Throttle_Curve_EP1_NORMAL 27 // -> 0..100%
#define Throttle_Curve_EP1_ID 28 // -> 0..100%
#define Throttle_Curve_EP2_NORMAL 29 // -> 0..100%
#define Throttle_Curve_EP2_ID 30 // -> 0..100%
#define Throttle_Curve_EP3_NORMAL 31 // -> 0..100%
#define Throttle_Curve_EP3_ID 32 // -> 0..100%
#define Throttle_Curve_EP4_NORMAL 33 // -> 0..100%
#define Throttle_Curve_EP4_ID 34 // -> 0..100%
#define Pitch_Curve_EP0_NORMAL 35 // -> 0..100%
#define Pitch_Curve_EP0_ID 36 // -> 0..100%
#define Pitch_Curve_EP1_NORMAL 37 // -> 0..100%
#define Pitch_Curve_EP1_ID 38 // -> 0..100%
#define Pitch_Curve_EP2_NORMAL 39 // -> 0..100%
#define Pitch_Curve_EP2_ID 40 // -> 0..100%
#define Pitch_Curve_EP3_NORMAL 41 // -> 0..100%
#define Pitch_Curve_EP3_ID 42 // -> 0..100%
#define Pitch_Curve_EP4_NORMAL 43 // -> 0..100%
#define Pitch_Curve_EP4_ID 44 // -> 0..100%
#define CH1_SubTrim 45 // -> -120..+120 (two's > 0x88 - 0x78 )
#define CH2_SubTrim 46 // -> -120..+120 (two's > 0x88 - 0x78 )
#define CH3_SubTrim 47 // -> -120..+120 (two's > 0x88 - 0x78 )
#define CH4_SubTrim 48 // -> -120..+120 (two's > 0x88 - 0x78 )
#define CH5_SubTrim 49 // -> -120..+120 (two's > 0x88 - 0x78 )
#define CH6_SubTrim 50 // -> -120..+120 (two's > 0x88 - 0x78 )
#define Mixer1src_dest 51 // -> low_nib=dest. high_nib=src. Value : 0..5=ch1..ch6 (6..7=VRA..VRB >source only)
#define Mixer1UpRate 52 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer1DownRate 53 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer1switch 54 // -> 0=SWA 1=SWB 2=ON 3=OFF
#define Mixer2src_dest 55 // -> low_nib=dest. high_nib=src. Value : 0..5=ch1..ch6 (6..7=VRA..VRB >source only)
#define Mixer2UpRate 56 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer2DownRate 57 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer2switch 58 // -> 0=SWA 1=SWB 2=ON 3=OFF
#define Mixer3src_dest 59 // -> low_nib=dest. high_nib=src. Value : 0..5=ch1..ch6 (6..7=VRA..VRB >source only)
#define Mixer3Up_Rate 60 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer3DownRate 61 // -> -100..+100 (two's complement format > 0x9c..0x64)
#define Mixer3switch 62 // -> 0=SWA 1=SWB 2=ON 3=OFF
#define Switch_A-function_select 63 // -> 0=NULL 1=DualRate 2=throttlecutoff 3=NORMAL/ID
#define Switch_B_function_select 64 // -> 0=NULL 1=DualRate 2=throttlecutoff 3=NORMAL/ID
#define Variable_A_function_select 65 // -> 0=NULL 1=pitajdust
#define Variable_B_function_select 66 // -> 0=NULL 1=pitajdust
#define Checksum_High_Byte 67 // -> sum(byte2..byte66) / 256
#define Checksum_Low_Byte 68 // -> sum(byte2..byte66) mod 256
Feliratkozás:
Megjegyzések küldése (Atom)
Nincsenek megjegyzések:
Megjegyzés küldése