Defines refactoring
This commit is contained in:
13
variables.h
13
variables.h
@@ -27,10 +27,11 @@ enum dataStates {
|
||||
CRC_RECEIVED
|
||||
};
|
||||
|
||||
#define PPM_INPUT_PIN 2
|
||||
#define PPM_INPUT_INTERRUPT 1 //For Pro Micro 1, For Pro Mini 0
|
||||
|
||||
#define CHANNEL_NUMBER 12 //set the number of chanels
|
||||
#define CHANNEL_DEFAULT_VALUE 1500 //set the default servo value
|
||||
#define FRAME_LENGTH 22500 //set the PPM frame length in microseconds (1ms = 1000µs)
|
||||
#define PULSE_LENGTH 300 //set the pulse length
|
||||
#define onState 1 //set polarity of the pulses: 1 is positive, 0 is negative
|
||||
#define sigPin 10 //set PPM signal output pin on the arduino
|
||||
#define PPM_CHANNEL_DEFAULT_VALUE 1500 //set the default servo value
|
||||
#define PPM_FRAME_LENGTH 22500 //set the PPM frame length in microseconds (1ms = 1000µs)
|
||||
#define PPM_PULSE_LENGTH 300 //set the pulse length
|
||||
#define PPM_SIGNAL_POSITIVE_STATE 1 //set polarity of the pulses: 1 is positive, 0 is negative
|
||||
#define PPM_OUTPUT_PIN 10 //set PPM signal output pin on the arduino
|
||||
|
||||
Reference in New Issue
Block a user