Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
adjusted cutoff voltage to be compatible with LiFePo4 chargers 14.7V
PWM port number description was not incrementing
  • Loading branch information
MichelMoriniaux committed May 3, 2023
1 parent 638241e commit 44ae450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Arduino/BigPowerBox/mydefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//-----------------------------------------------------------------------
// Constant Definitions
//-----------------------------------------------------------------------
#define MAXINVOLTS 14.4 // maximum allowed volts In, shutdown all output ports if exceeded
#define MAXINVOLTS 14.7 // maximum allowed volts In, shutdown all output ports if exceeded
#define REFRESH 200 // read port values every REFRESH milliseconds
#define TEMPITVL 1 // adjust dew heaters every TEMPITVL minutes
#define SERIALPORTSPEED 9600 // 9600, 14400, 19200, 28800, 38400, 57600
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ private static void QueryDeviceDescription()
feature.maxvalue = 255;
feature.unit = null;
feature.description = "PWM Port " + pwm;
feature.name = "PWM port " + pwm;
feature.name = "PWM port " + pwm++;
deviceFeatures.Add(feature);
tl.LogMessage("SH.QueryDeviceDescription", "Added PWM port at index: " + portindex++);
havePWM = true;
Expand Down

0 comments on commit 44ae450

Please sign in to comment.