mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
XN297EMU: option=0->nrf24L01, option!=0 -> CC2500
XN297L@250kbps is emulated by default with the NRF24L01. If option (freq tune) is diffrent from 0, the CC2500 module (if installed) will be used instead with option being the freq usual tuning.
This commit is contained in:
1 parent
953a97dae4
commit
6a9b6ed4be
12 files changed
+408
-426
No files matched your search
@@ -331,7 +331,7 @@ void setup()
|
||||
pinMode(S2_pin,INPUT_PULLUP);
|
||||
pinMode(S3_pin,INPUT_PULLUP);
|
||||
pinMode(S4_pin,INPUT_PULLUP);
|
||||
|
||||
|
||||
#if defined ENABLE_DIRECT_INPUTS
|
||||
#if defined (DI1_PIN)
|
||||
pinMode(DI1_PIN,INPUT_PULLUP);
|
||||
@@ -346,6 +346,7 @@ void setup()
|
||||
pinMode(DI4_PIN,INPUT_PULLUP);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//Random pins
|
||||
pinMode(PB0, INPUT_ANALOG); // set up pin for analog input
|
||||
|
||||
@@ -724,7 +725,6 @@ bool Update_All()
|
||||
else
|
||||
Channel_data[i]=val;
|
||||
}
|
||||
|
||||
PPM_FLAG_off; // wait for next frame before update
|
||||
#ifdef FAILSAFE_ENABLE
|
||||
PPM_failsafe();
|
||||
|
||||
Reference in new issue
Block a user