DefaultReceiver/DefaultReceiver.ino
2022-08-21 14:10:45 +02:00

44 lines
491 B
C++

#include "descriptionStruct.h"
#define myId 0x01
#define myChannel 1
#define jMPU
#define jCOMP
#define jGNSS
#define debug
//https://dl.espressif.com/dl/package_esp32_index.json
//1.0.6
ChannelDesc buttonDesc[32] = {
{3,"Armed"}
};
ChannelDesc analogDesc[12] = {
};
void onConnect(){
}
void onDisconnect(bool expected){
}
#include "juPadReceiver.h"
void onData(){
//RCdata
//RCgetBTN(0-31)
//RCgetAnalog(0-11)
}
void setup(){
jSetup();
}
void loop(){
jLoop();
}