Skip to content
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

How to use the LOGO capacitive touch events? #117

Open
felipebalbi opened this issue Oct 18, 2023 · 1 comment
Open

How to use the LOGO capacitive touch events? #117

felipebalbi opened this issue Oct 18, 2023 · 1 comment

Comments

@felipebalbi
Copy link

Hi,

I've been looking for a way to replicate "touched", "pressed", "released" events from the official micropython for microbit, however I couldn't find a way to enable this "touch mode" on p1_04. I tried using p1_04 as an ADC, but that pin is not ADC-capable. Also attempted using it as an input GPIO assuming that when touching LOGO we would ground the signal, but that also didn't work.

Browsing through microbit's micropython support, they have this "Touch Mode" on p1_04, but even looking at nRF52833 documentation, I cannot find any mention of "touch" or "capacitive" for any pin. How is that working and how would one replicate it with this crate?

@gatlinnewhouse
Copy link

I've been working on something similar and asked my professor about it who has working code for using the logo capacitive touch here: https://github.com/pdx-cs-embedded-rust/mb2-touch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants