Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add QF009 Su35 support to MT99XX protocol #1024

Closed
rdba2k opened this issue Sep 27, 2024 · 1 comment
Closed

add QF009 Su35 support to MT99XX protocol #1024

rdba2k opened this issue Sep 27, 2024 · 1 comment

Comments

@rdba2k
Copy link
Contributor

rdba2k commented Sep 27, 2024

Hi, Pascal:

This is the airplane,

https://www.rcgroups.com/forums/showthread.php?4449789-QF009-SU35-micro-pusher-jet-Updated-2S-Brushless!

I changed MT99xx_ccnrf.ino, modified "H7" sub protocol to support QF009 Su35. The main change is to add some constant

FLAG_SU35_HIRATE = 0x01,
FLAG_SU35_LED    = 0x02,
FLAG_SU35_FLASH  = 0x04,
FLAG_SU35_INVERT = 0x08,
FLAG_SU35_6G     = 0x00,
FLAG_SU35_3D     = 0x40,    

and modify the flag part for "H7",

case H7: // Su 35
//packet[6] |= FLAG_MT_RATE1; // max rate on H7
packet[6] = FLAG_SU35_6G
| GET_FLAG( CH5_SW, FLAG_SU35_3D )
| GET_FLAG( CH6_SW, FLAG_SU35_LED )
| GET_FLAG( CH7_SW, FLAG_SU35_FLASH )
| GET_FLAG( CH8_SW, FLAG_SU35_INVERT )
| GET_FLAG( CH9_SW, FLAG_SU35_HIRATE );
break;

Attached is the working code and has been flight tested.

The change for this web page under "H7" sub protocol would be
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/Protocols_Details.md#MT99XX---17

Sub_protocol H7 - 1
Models: Eachine H7, Cheerson CX023
Model: QF009 Su35, CH5 - mode -100% = 6G 100% = 3D, CH6 - LED, CH7 - LED Flash, CH8 - Invert, CH9 - Rate

Thanks.
MT99xx_ccnrf.ino.txt

@rdba2k rdba2k closed this as completed Oct 3, 2024
@rdba2k
Copy link
Contributor Author

rdba2k commented Oct 3, 2024

replaced by #1032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant