-
Notifications
You must be signed in to change notification settings - Fork 27
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
uBit.io.logo
might need to be configured as capacitive mode on startup
#168
Comments
There might be some technical reason why Capacitive might or might not be the default for In the meantime I think we can probably change the mode in the MicroPython side, and if the default changes in the future we can revert it later. |
Actually, the problem here is a bit subtle. int wasTouched( TouchMode touchMode = TouchMode::Capacitative ); So we are already using capacitive touch for If you first run |
My above statement seems to be true for all pins, not just |
In 3074c81 I made The remaining thing to do is fix CODAL so that calling |
Thanks Damien, once we resolve lancaster-university/codal-microbit-v2#411 in CODAL we can also revert that change. |
Removed workaround needed before CODAL set the uBit.io.logo touch mode to capacitive by default. Discussion: #168 CODAL changelog: https://github.com/lancaster-university/codal-microbit-v2/blob/master/Changelog.md#v0267
Removed workaround needed before CODAL set the uBit.io.logo touch mode to capacitive by default. Discussion: #168 CODAL changelog: https://github.com/lancaster-university/codal-microbit-v2/blob/master/Changelog.md#v0267
Workaround removed in #213. |
It's possible that with the move to
uBit.io.logo
the default NRF52Pin touch mode is resistive and it might need to be set up to capacitive on startup.With the latest commit in main, running this code and touching the logo is only registered if I am touching the GND pin as well:
The text was updated successfully, but these errors were encountered: