[SOLVED] 2.3.1 TO 2.3.2 MyConfig.h got changed
-
Finally got around to upgrading to the latest library using Arduino IDE -
I went into library manager and just selected upgrade to 2.3.2
I re-uploaded my code to the sensor I'm working on and no communication anymore. Long story short...the channel number has been reset to default in MyConfig.hJust curious if there was a particular reson for this?
All working well once I sussed what had happened. Thank goodness for backups.
-
@grumpazoid said in 2.3.1 TO 2.3.2 MyConfig.h got changed:
.the channel number has been reset to default in MyConfig.h
What do you mean by has been reset? If you manually made changes to MyConfig.h they will always get lost on an upgrade of the library because the files in the library are overwritten by the new ones!
If you need to change the channel you should do so in your sketch, not in the library.
-
@Yveaux Yes I had manually changed MyConfig.h to reflect the channel number I use. I thought I had read that was the way to do it. Okay thanks for putting me straight. Good to know it was just normal behaviour. I'll add it to each of my sketches in future.
Thanks.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
MQTT GW on ESP8266 supporting SSL/TLS?
Development • 4 Jun 2024, 10:21 • bgunnarb 27 Jun 2024, 13:53 -
MYSController with MQTT Gateway (via Node Red)
Development • 11 Aug 2024, 22:35 • slt1 11 Aug 2024, 22:35 -
Gateways
Development • 6 Feb 2024, 01:16 • OldSurferDude 6 Feb 2024, 14:22 -
Sending offset to node
Development • 21 days ago • bsl88k 17 days ago