-
-
Notifications
You must be signed in to change notification settings - Fork 745
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
Add raw hall effect output to the debug menu. #1196
Conversation
Hia, |
Yes, I can. Waiting on my hall effect sensor to arrive Monday. Will get it soldered up and a build for pinecil to test. |
I just realized, I probably should have used #ifdef HALL_SENSOR So this code can support the other builds without the hall effect sensors. |
Yeah good point, that's what the CI checks are there for |
clang-format is a picky pain but it does sorta help in making everything perfectly identical. Apologies for the pain |
Hahaha, ya. It also doesnt help I am starting with a fresh dev environment on my own computer with no clang format checks or anything. Trying Atom.io out. |
Alright, flashed my iron with this code. Changes don't break the iron. Hall reads out 0 which makes sense as it does not have the hall effect sensor in it. Once I get the hall effect sensor soldered on, I can update this pull request with results if you want me to. Also what a difference from 2.13 (what my iron shipped with) to now. Bravo. |
Hoping you like all the upgrades so far :) Yeah if you can verify it would be great. If I get time to verify before then I'll merge it in |
@discip The debug menu is meant to be super simple so it doesnt really do "skip if not present" at the moment as that can be more confusing? The settings in the settings menu should only show if its present tho. |
Yes that's what I thought at first, but I did not populate the required hall sensor onto the board and still I am able to set the sensitivity of it. 😵 The fact that the setting was available made me assume that the sensor was installed in the first place.
|
Really!! Mine definitely does not have the hall effect sensor and the documentation on their wiki says it should be unpopulated. I still need to get mine soldered on. What is your board version? |
It is due
in the .\source\Core\BSP\Pine64\configuration.h |
Ah now I get this! 🤦♂️ Thank you for pointing this out! 😃👍 |
But than I don't get why the settings for it are available? 🤷♂️🤯 Or what did you mean by that? |
Just did a tweak to print absolute value but otherwise it works :) @ritkit |
Adds a raw hall effect debug menu item for troubleshooting hall effect sensor.
Changes are made to make_transition.py and GUIThread.cpp/
What is the current behavior?
Hall effect output cannot be viewed.
What is the new behavior (if this is a feature change)?
Can now click through debug menu to see raw hall effect sensor output.
Other information:
Will build and test shortly.