Correct way of encoding RC_DATA frame

This commit is contained in:
Pawel Spychalski (DzikuVx)
2017-09-27 22:16:15 +02:00
parent 66a88259f9
commit 458ee9233a
6 changed files with 47 additions and 10 deletions

View File

@@ -4,8 +4,7 @@
#define PPM_CHANNEL_COUNT 10
#define TX_RC_FRAME_RATE 100 //ms
#define TX_RC_FRAME_RATE 5000 //ms
#define CHANNEL_ID 0x01
#define QSP_PREAMBLE 0x51
@@ -16,8 +15,6 @@
#define PIN_LED 13
enum dataStates {
IDLE,
PREAMBLE_RECEIVED,