[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 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
[mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'
Development • 18 Sept 2024, 20:34 • kiesel 20 Sept 2024, 08:28 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
MYSController with MQTT Gateway (via Node Red)
Development • 11 Aug 2024, 22:35 • slt1 11 Aug 2024, 22:35