|
|
@ -14,11 +14,9 @@ static constexpr uint16_t PROGMEM MIN_PULSE_WIDTH = (1 << TIMER_WIDTH) * MIN |
|
|
|
static constexpr uint16_t PROGMEM MAX_PULSE_WIDTH = (1 << TIMER_WIDTH) * MAX_PULSE_MS / 20000; // the longest pulse sent to a servo
|
|
|
|
static constexpr uint16_t PROGMEM DEFAULT_PULSE_WIDTH = (1 << TIMER_WIDTH) * DEFAULT_PULSE_MS / 20000; // default pulse width
|
|
|
|
|
|
|
|
static constexpr uint8_t PROGMEM LEDC_NUM_CHANNELS = 8; // default pulse width
|
|
|
|
|
|
|
|
static constexpr TickType_t PROGMEM TIMEOUT = portMAX_DELAY; |
|
|
|
|
|
|
|
static constexpr uint8_t PROGMEM channel = 13; // LEDC_CHANNEL_3 // beware: some channels interfere with the rmt peripheral used by FastLED
|
|
|
|
static constexpr uint8_t PROGMEM channel = LEDC_CHANNEL_5; // 13 // beware: some channels interfere with the rmt peripheral used by FastLED
|
|
|
|
|
|
|
|
class Pusher { |
|
|
|
public: |
|
|
|