mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 16:48:10 +00:00
Removed PPM 125% statements
This commit is contained in:
parent
984aa3f413
commit
cd235bbcde
@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_REVISION 0
|
||||
#define VERSION_PATCH_LEVEL 7
|
||||
#define VERSION_PATCH_LEVEL 8
|
||||
//******************
|
||||
// Protocols
|
||||
//******************
|
||||
|
@ -2,48 +2,36 @@
|
||||
#if defined(TX_ER9X)
|
||||
#define PPM_MAX_100 2012 // 100%
|
||||
#define PPM_MIN_100 988 // 100%
|
||||
#define PPM_MAX_125 2140 // 125%
|
||||
#define PPM_MIN_125 860 // 125%
|
||||
#endif
|
||||
|
||||
// Devo PPM and channels
|
||||
#if defined(TX_DEVO7)
|
||||
#define PPM_MAX_100 1920 // 100%
|
||||
#define PPM_MIN_100 1120 // 100%
|
||||
#define PPM_MAX_125 2120 // 125%
|
||||
#define PPM_MIN_125 920 // 125%
|
||||
#endif
|
||||
|
||||
// SPEKTRUM PPM and channels
|
||||
#if defined(TX_SPEKTRUM)
|
||||
#define PPM_MAX_100 1900 // 100%
|
||||
#define PPM_MIN_100 1100 // 100%
|
||||
#define PPM_MAX_125 2000 // 125%
|
||||
#define PPM_MIN_125 1000 // 125%
|
||||
#endif
|
||||
|
||||
// HISKY
|
||||
#if defined(TX_HISKY)
|
||||
#define PPM_MAX_100 1920 // 100%
|
||||
#define PPM_MIN_100 1120 // 100%
|
||||
#define PPM_MAX_125 2020 // 125%
|
||||
#define PPM_MIN_125 1020 // 125%
|
||||
#endif
|
||||
|
||||
// Multiplex MC2020
|
||||
#if defined(TX_MPX)
|
||||
#define PPM_MAX_100 1950 // 100%
|
||||
#define PPM_MIN_100 1250 // 100%
|
||||
#define PPM_MAX_125 2050 // 125%
|
||||
#define PPM_MIN_125 1150 // 125%
|
||||
#endif
|
||||
|
||||
// Walkera PL0811-01H
|
||||
#if defined(TX_WALKERA)
|
||||
#define PPM_MAX_100 1800 // 100%
|
||||
#define PPM_MIN_100 1000 // 100%
|
||||
#define PPM_MAX_125 1900 // 125%
|
||||
#define PPM_MIN_125 900 // 125%
|
||||
#endif
|
||||
|
||||
//Channel MIN MAX values
|
||||
|
@ -225,8 +225,8 @@
|
||||
#ifndef AILERON
|
||||
#error You must select a correct channel order.
|
||||
#endif
|
||||
#if not defined(PPM_MAX_100) || not defined(PPM_MIN_100) || not defined(PPM_MAX_125) || not defined(PPM_MIN_125)
|
||||
#error You must set correct TX end points.
|
||||
#if not defined(PPM_MAX_100) || not defined(PPM_MIN_100)
|
||||
#error You must set correct PPM end points for your TX.
|
||||
#endif
|
||||
|
||||
#if defined(ENABLE_BIND_CH)
|
||||
|
@ -284,13 +284,11 @@
|
||||
// A few things to consider:
|
||||
// - If you put too big values compared to your TX you won't be able to reach the extremes which is bad for throttle as an example
|
||||
// - If you put too low values you won't be able to use your full stick range, it will be maxed out before reaching the ends
|
||||
// - Centered stick value is usually 1500. It should match the middle between MIN and MAX, ie Center=(MAX-MIN)/2+MIN. If your TX is not centered you can adjust the value MIN or MAX.
|
||||
// - 100% is the value when the model is by default, 125% is the value when you extend the servo travel which is only used by some protocols
|
||||
// - Centered stick value is usually 1500. It should match the middle between MIN and MAX, ie Center=(MAX+MIN)/2. If your TX is not centered you can adjust the value MIN or MAX.
|
||||
// - 100% is referred as the value when the TX is set to default with no trims
|
||||
#if defined(TX_CUSTOM)
|
||||
#define PPM_MAX_100 1900 // 100%
|
||||
#define PPM_MIN_100 1100 // 100%
|
||||
#define PPM_MAX_125 2000 // 125%
|
||||
#define PPM_MIN_125 1000 // 125%
|
||||
#endif
|
||||
|
||||
/** Number of PPM Channels **/
|
||||
@ -462,7 +460,7 @@ const PPM_Parameters PPM_prot[15]= {
|
||||
COR_V2
|
||||
*/
|
||||
|
||||
// RX_Num is used for model match. Using RX_Num values different for each receiver will prevent starting a model with the false config loaded...
|
||||
// RX_Num is used for TX & RX match. Using different RX_Num values for each receiver will prevent starting a model with the false config loaded...
|
||||
// RX_Num value is between 0 and 15.
|
||||
|
||||
// Power P_HIGH or P_LOW: High or low power setting for the transmission.
|
||||
|
Loading…
x
Reference in New Issue
Block a user