21 lines
No EOL
387 B
C
21 lines
No EOL
387 B
C
#ifndef _structsAndDefines_h_
|
|
#define _structsAndDefines_h_
|
|
|
|
byte jChannel[] = {13, 12, 14, 27, 26, 25, 33, 32, 15};
|
|
|
|
enum jType {
|
|
jUnused = 0,
|
|
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 |