17#include <ELECHOUSE_CC1101_SRC_DRV.h>
21#define RECORDINGBUFFERSIZE 4096
22#define CCBUFFERSIZE 64
33 ELECHOUSE_CC1101 ELECHOUSE_cc1101;
34 byte CC1101_A_sck = 39;
35 byte CC1101_A_miso = 41;
36 byte CC1101_A_mosi = 40;
38 int CC1101_A_gdo0 = 9;
39 int CC1101_A_RF_Switch = 10;
40 byte CC1101_B_sck = 17;
41 byte CC1101_B_miso = 15;
42 byte CC1101_B_mosi = 16;
44 int CC1101_B_gdo0 = 11;
45 int CC1101_B_RF_Switch = 12;
48 int CC1101_RF_Switch = 12;
50 bool CC1101_A_initialised =
false;
54 byte CC1101_sendingbuffer[CCBUFFERSIZE] = {0};
58 byte CC1101_receivingbuffer[CCBUFFERSIZE] = {0};
62 byte CC1101_bigrecordingbuffer[RECORDINGBUFFERSIZE] = {0};
65 float defaultFrequency = 433.92;
66 float frequency = 433.92;
67 int selectedModule = 1;
68 int samplingInterval = 1;
69 int setting, setting2;
70 SubGHzTools_flag currentMode = SubGHz_IDLE;