Closed dizcza closed 8 months ago
Hi Danylo (@dizcza ),
You are trying to do the saveConfiguration
too quickly - before the new address has taken effect. Please look at Example9.
The steps are:
myGNSS.setI2CAddress(0x43);
myGNSS.begin(Wire, 0x43);
)myGNSS.saveConfiguration();
I hope this helps, Paul
Subject of the issue
The
saveConfiguration
comments the following docs:This, however, isn't true.
Your workbench
Steps to reproduce
Then ping and you should see 0x43. And I do see 0x43 until a power reset, which resets the device address to its default value, 0x42.
Expected behavior
Settings are saved in flash
Actual behavior
Settings are not saved in flash
I noticed that you don't specify the
deviceMask
and set the packet length to 12. I tried changing your functionbut this didn't help either.
Any clue?