Make RC_CHANNELS=16 corresponding the number of SBUS channels

This commit is contained in:
Oleg Kalachev
2024-10-23 06:13:18 +03:00
parent 23f3295439
commit f46460e53d
3 changed files with 5 additions and 5 deletions

View File

@@ -6,8 +6,8 @@
#include <SBUS.h>
// NOTE: use 'cr' command to calibrate the RC and put the values here
int channelNeutral[] = {995, 883, 200, 972, 512, 512};
int channelMax[] = {1651, 1540, 1713, 1630, 1472, 1472};
int channelNeutral[] = {995, 883, 200, 972, 512, 512, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
int channelMax[] = {1651, 1540, 1713, 1630, 1472, 1472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
SBUS RC(Serial2, 16, 17); // NOTE: remove pin numbers (16, 17) if you use the new default pins for Serial2 (4, 25)