New NCC1701 protocol

NCC1701 - 44
Model: Air Hogs Star Trek USS Enterprise NCC-1701-A
Autobind protocol
Only 9 IDs available, cycle through them using RX_Num.
This commit is contained in:
Pascal Langer
2018-11-02 21:20:57 +01:00
parent 2149149723
commit f42da14413
6 changed files with 265 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ uint8_t Channel_AUX;
// Protocol variables
uint8_t cyrfmfg_id[6];//for dsm2 and devo
uint8_t rx_tx_addr[5];
uint8_t rx_id[4];
uint8_t rx_id[5];
uint8_t phase;
uint16_t bind_counter;
uint8_t bind_phase;
@@ -1193,6 +1193,12 @@ static void protocol_init()
remote_callback = BUGSMINI_callback;
break;
#endif
#if defined(NCC1701_NRF24L01_INO)
case PROTO_NCC1701:
next_callback=initNCC();
remote_callback = NCC_callback;
break;
#endif
#if defined(TEST_NRF24L01_INO)
case PROTO_TEST:
next_callback=initTest();