-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xsns_33_qmc5883l.ino check for overflow and scale reading #20643
Conversation
Add #defines for xsns_33_qmc5883l.ino
Add cofigure some chip-parameters, check for overflow and scale the reading to tesla
Hi all |
now I checked all Tasmota cores :-)) |
@@ -470,7 +470,8 @@ | |||
#define USE_ENHANCED_GUI_WIFI_SCAN // Enable Wi-Fi scan output with BSSID (+0k5 code) | |||
// #define USE_WEBSEND_RESPONSE // Enable command WebSend response message (+1k code) | |||
// #define USE_WEBGETCONFIG // Enable restoring config from external webserver (+0k6) | |||
// #define USE_GPIO_VIEWER // Enable GPIO Viewer to see realtime GPIO states (+6k code) | |||
// #define USE_GPIO_VIEWER // Enable GPIO Viewer to see realtime GPIO states (+4k code) | |||
// #define GV_BASE_URL "https://thelastoutpostworkshop.github.io/microcontroller_devkit/gpio_viewer/assets/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls rebase your PR as this line has been removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done - I hope thats what you need :-))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still someting wrong. Line 475 should be removed as it is no longer present in the release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused ...
The "my_user_config.h" in my fork is only extended with some #define USE_QMC58...
I see the identical #define USE_GPIO_VIEWER in both "my_user_config.h" (in my fork and in the original development in two lines :
474 ... // #define USE_GPIO_VIEWER // Enable GPIO Viewer to see realtime GPIO states (+4k code)
and
1105 ... #define USE_GPIO_VIEWER // Enable GPIO Viewer to see realtime GPIO states (+5k6 code)
line 475 is ...
475 ... // #define GV_SAMPLING_INTERVAL 100 // [GvSampling] milliseconds - Use Tasmota Scheduler (100) or Ticker (20..99,101..1000)
??? what can I do ???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased my PR on dev[13.4.0.1] now
I hope it works now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it doesn't. You should be able to easily see that it fails on line 475. That line is not present in dev or released branch.
So keep trying until you see for yourself that line 475 is gone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix it.
Thx. It's merged now. |
Thx 👍 ... I still dont check what the problem was !? :-(( |
Description:
xsns_33_qmc5883l.ino Add cofigure some chip-parameters, check for overflow and scale the reading to tesla
Related issue (if applicable): fixes #
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass