You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my setup (different microcontroller, Particle Photon) the summer mode has always been 'no' and bypass '0'. I had to lower the data indices by 1 to get correct values.
int ByPass = (int)data[7-1];
int PreHeating = (int)data[8-1];
int ByPassMotorCurrent = (int)data[9-1];
int PreHeatingMotorCurrent = (int)data[10-1];
...
int ByPassFactor = (int)data[9-1];
int ByPassStep = (int)data[10-1];
int ByPassCorrection = (int)data[11-1];
...
if ((int)data[13-1] == 1) {
The text was updated successfully, but these errors were encountered:
@RvRijsselt I can confirm your findings. Last week I discovered the same values as you did. Summer was always 'no'. Below the changes I've made. Now everything is working as expected.
int ByPass = (int)data[6];
int PreHeating = (int)data[7];
int ByPassMotorCurrent = (int)data[8];
int PreHeatingMotorCurrent = (int)data[9];
int ByPassFactor = (int)data[8];
int ByPassStep = (int)data[9];
int ByPassCorrection = (int)data[10];
char* summerModeString;
if ((int)data[12] == 1) {
Are they working for you?
In my setup (different microcontroller, Particle Photon) the summer mode has always been 'no' and bypass '0'. I had to lower the data indices by 1 to get correct values.
The text was updated successfully, but these errors were encountered: