JuReceiver/structsAndDefines.h

21 lines
387 B
C
Raw Normal View History

2023-09-10 15:33:34 +02:00
#ifndef _structsAndDefines_h_
#define _structsAndDefines_h_
2023-09-24 20:46:10 +02:00
byte jChannel[] = {13, 12, 14, 27, 26, 25, 33, 32, 15};
2023-09-10 15:33:34 +02:00
enum jType {
2023-09-24 20:46:10 +02:00
jUnused = 0,
2023-09-10 15:33:34 +02:00
jServo = 1,
jhBridge = 2,
jESC = 3,
jDigital = 4,
};
typedef void (*on_connect)();
typedef void (*on_disconnect)(bool);
typedef void (*on_data)();
#define multicastChannel 124
#define multicastAddress 0xF0F0F0F0FF
#endif