[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. -
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login