30 lines
No EOL
522 B
C
30 lines
No EOL
522 B
C
#ifndef _structsAndDefines_h_
|
|
#define _structsAndDefines_h_
|
|
|
|
enum jChannel {
|
|
jChannel_0 = 13,
|
|
jChannel_1 = 12,
|
|
jChannel_2 = 14,
|
|
jChannel_3 = 27,
|
|
jChannel_4 = 26,
|
|
jChannel_5 = 25,
|
|
jChannel_6 = 33,
|
|
jChannel_7 = 32,
|
|
jChannel_8 = 15,
|
|
};
|
|
|
|
enum jType {
|
|
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 |