 #define NOTE_MIN 21
 #define NOTE_MAX 108
 #define PULSEWIDTH_MIN 35
-#define PULSEWIDTH_MAX 300
+#define PULSEWIDTH_MAX 250
 
 int clamp_pulse_width(float nominal_width) {
   return (int) constrain(nominal_width, PULSEWIDTH_MIN, PULSEWIDTH_MAX);

}

bool update_pulse_duty_cycle() {
  if( (old_pulse_duty_cycle_setpoint + 5) < pulse_duty_cycle_setpoint || 
      (old_pulse_duty_cycle_setpoint - 5) > pulse_duty_cycle_setpoint ) {
    old_pulse_duty_cycle_setpoint = pulse_duty_cycle_setpoint;
    return true;
  }

#define pulse_mode_switch   9
#define estop_switch        11

#define channel_1_out       22
#define channel_2_out       22 

#define pulsewidth_pot A0
