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
{{ message }}
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.
I'm not real familiar with this development environment but I've been hacking C code for over 40 years and doing embedded systems for 35+.
I've been using Platformio to program my Sonoff devices so used that to build the Multisensor code as well. I needed to declare all the functions to make it compile (and, really, it's just a "good idea" to do that anyway). Suggest adding them:
void callback(char*, byte*, unsigned int);
void reconnect();
bool processJson(char* message);
void setColor(int inR, int inG, int inB);
int calculateVal(int step, int val, int i);
int calculateStep(int prevValue, int endValue);
void loop();
float calculateHeatIndex(float humidity, float temp);
void software_Reset() ;```
The text was updated successfully, but these errors were encountered:
it doesn't do anything for code stability.
It was necessary til I think IDE 1.6.7 if the functions were in a separate file, but no longer necessary now
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not real familiar with this development environment but I've been hacking C code for over 40 years and doing embedded systems for 35+.
I've been using Platformio to program my Sonoff devices so used that to build the Multisensor code as well. I needed to declare all the functions to make it compile (and, really, it's just a "good idea" to do that anyway). Suggest adding them:
The text was updated successfully, but these errors were encountered: