mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 14:48:14 +00:00
J6Pro update
This commit is contained in:
parent
79b1c54007
commit
1d3ed78622
@ -326,9 +326,7 @@ const uint8_t PROGMEM DEVO_j6pro_sopcodes[][8] = {
|
|||||||
{0xB6, 0x31, 0xAE, 0x46, 0x5A, 0xCC, 0xAE, 0x46},
|
{0xB6, 0x31, 0xAE, 0x46, 0x5A, 0xCC, 0xAE, 0x46},
|
||||||
{0x9E, 0x82, 0xDC, 0x3C, 0xA1, 0x78, 0xDC, 0x3C},
|
{0x9E, 0x82, 0xDC, 0x3C, 0xA1, 0x78, 0xDC, 0x3C},
|
||||||
{0x6F, 0x65, 0x18, 0x74, 0xB9, 0x8E, 0x19, 0x74},
|
{0x6F, 0x65, 0x18, 0x74, 0xB9, 0x8E, 0x19, 0x74},
|
||||||
#endif
|
{0x62, 0xDF, 0xC1, 0x49, 0xDF, 0xB1, 0xC0, 0x49}, //j6pro bind
|
||||||
#if defined(TRAXXAS_CYRF6936_INO)
|
|
||||||
{0x62, 0xDF, 0xC1, 0x49, 0xDF, 0xB1, 0xC0, 0x49},
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,7 +35,6 @@ enum PktState {
|
|||||||
J6PRO_CHAN_4,
|
J6PRO_CHAN_4,
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint8_t PROGMEM j6pro_bind_sop_code[] = {0x62, 0xdf, 0xc1, 0x49, 0xdf, 0xb1, 0xc0, 0x49};
|
|
||||||
const uint8_t j6pro_data_code[] = {0x02, 0xf9, 0x93, 0x97, 0x02, 0xfa, 0x5c, 0xe3, 0x01, 0x2b, 0xf1, 0xdb, 0x01, 0x32, 0xbe, 0x6f}; // unneeded since this is the default table after a reset
|
const uint8_t j6pro_data_code[] = {0x02, 0xf9, 0x93, 0x97, 0x02, 0xfa, 0x5c, 0xe3, 0x01, 0x2b, 0xf1, 0xdb, 0x01, 0x32, 0xbe, 0x6f}; // unneeded since this is the default table after a reset
|
||||||
|
|
||||||
static void __attribute__((unused)) j6pro_build_bind_packet()
|
static void __attribute__((unused)) j6pro_build_bind_packet()
|
||||||
@ -99,7 +98,7 @@ static void __attribute__((unused)) cyrf_bindinit()
|
|||||||
/* Use when binding */
|
/* Use when binding */
|
||||||
CYRF_SetPower(0x28); //Deviation using max power, replaced by bind power...
|
CYRF_SetPower(0x28); //Deviation using max power, replaced by bind power...
|
||||||
//CYRF_ConfigRFChannel(0x52);
|
//CYRF_ConfigRFChannel(0x52);
|
||||||
CYRF_PROGMEM_ConfigSOPCode(j6pro_bind_sop_code);
|
CYRF_PROGMEM_ConfigSOPCode(DEVO_j6pro_sopcodes[19]);
|
||||||
CYRF_ConfigCRCSeed(0x0000);
|
CYRF_ConfigCRCSeed(0x0000);
|
||||||
//CYRF_WriteRegister(CYRF_06_RX_CFG, 0x4a);
|
//CYRF_WriteRegister(CYRF_06_RX_CFG, 0x4a);
|
||||||
//CYRF_WriteRegister(CYRF_05_RX_CTRL, 0x80);
|
//CYRF_WriteRegister(CYRF_05_RX_CTRL, 0x80);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user