Skip to content

Commit

Permalink
Change timer delay range
Browse files Browse the repository at this point in the history
Based on in-vehicle observation, changes delay range to 500 - 3500 ms
  • Loading branch information
FerralCoder committed Mar 19, 2024
1 parent 5818354 commit 9208aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UTV_Holeshot_Hero_Maker.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Abstract:
#include "PinAssignments.h"

// This specifies the minimum indicator delay in ms when the control dial is set at 0.
#define MIN_IGNITION_DELAY_MS 1000
#define MIN_IGNITION_DELAY_MS 500

// This controls the range of delay that is possible. The full range in ms is:
// MIN_IGNITION_DELAY_MS to (MIN_IGNITION_DELAY_MS + (1023 * DELAY_CONTROL_MULTIPLIER))
#define DELAY_CONTROL_MULTIPLIER 2
#define DELAY_CONTROL_MULTIPLIER 3

// This is the delay in ms before we enter the ready state and begin the control loop.
// This delay is intended to ensure that the ignition pin from the car has reached stable state.
Expand Down

0 comments on commit 9208aa0

Please sign in to comment.