-
Notifications
You must be signed in to change notification settings - Fork 8
Setting "#define USE_DYNAMIC_PARAMETERS false" on Blynk_WM_Template.ino results in compile error #16
Comments
@kevinleberge Again thanks for using the library and helping to locate the bugs. The library is getting better everyday thanks to contributing users like you. For the record, the fix is as follows and will reflect in the release.
|
I have absolutely no problem testing I am so grateful to be able to support this. |
@kevinleberge There are more libraries in My Repository The Regards, |
Oh good I didn’t want to bother you with bug fixes but now I know testing is welcomed. That HomeKit library looks really interesting! You’ll be hearing more from me! 😃
|
@kevinleberge Your help will be greatly welcome. You know there is so much a single guy can do. Regards, |
@kevinleberge That's so nice. It'll be great if you can share with us how you can do that. Even post your new example here in this repository. |
Hi @khoih-prog Here is my code and simple instructions for creating and using a couple of library files to free me from hard-coding credentials in my sketches. For this first round with the .h library files, I have included the text for my two files. Thanks in advance.
MY_BLYNK_CREDENTIALS.h
|
Forgive my ignorance, why are you hard coding the data if the WM handles writing the details through a config portal to the eeprom?
|
No, your question is good one in normal use case, with I think @thorathome way to hardcode is just used in developing stage, with In normal use case, just use a dummy info is good enough. Credentials will get from CP, if necessary. |
So true. So true @khoih-prog Plus, Old Habits Die Hard! #OldHabitsDieHard @kevinleberge asks the right question. No need to hard-code any of this info in the code anymore. |
Not absolutely necessary, but very helpful in many cases, especially with the latest
|
Already updated |
I can fix the template for my own use, but wanted to let you know:
using this option in the Blynk_WM_Template.ino file:
#define USE_DYNAMIC_PARAMETERS false
results in compile error
Compile Error log:
In function 'void updateDynamicParameters()':
working:456:98: error: 'controlVpinC' was not declared in this scope
Serial.print ( "\nupdateDynamicParameters has: \n controlVpinC/label = """ ); Serial.print ( controlVpinC ); Serial.print ( """/" ); Serial.print ( controlLabel );
^
working:456:153: error: 'controlLabel' was not declared in this scope
Serial.print ( "\nupdateDynamicParameters has: \n controlVpinC/label = """ ); Serial.print ( controlVpinC ); Serial.print ( """/" ); Serial.print ( controlLabel );
^
working:457:69: error: 'heartbeatVpinC' was not declared in this scope
Serial.print ( "\n heartbeatVpinC/label = """ ); Serial.print ( heartbeatVpinC ); Serial.print ( """/" ); Serial.print ( heartbeatLabel );
^
working:457:126: error: 'heartbeatLabel' was not declared in this scope
Serial.print ( "\n heartbeatVpinC/label = """ ); Serial.print ( heartbeatVpinC ); Serial.print ( """/" ); Serial.print ( heartbeatLabel );
^
working:458:67: error: 'displayVpinC' was not declared in this scope
Serial.print ( "\n displayVpinC/label = """ ); Serial.print ( displayVpinC ); Serial.print ( """/" ); Serial.print ( displayLabel );
^
working:458:122: error: 'displayLabel' was not declared in this scope
Serial.print ( "\n displayVpinC/label = """ ); Serial.print ( displayVpinC ); Serial.print ( """/" ); Serial.print ( displayLabel );
^
exit status 1
'controlVpinC' was not declared in this scope
The text was updated successfully, but these errors were encountered: