Timeline for answer to Do you understand this circuit? by Justme
Current License: CC BY-SA 4.0
Post Revisions
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 30, 2022 at 12:22 | comment | added | Justme | There's plenty of ways to do that. But effectively it requires circuitry to discriminate between the two different resistances and an analog input on Arduino is simplest because it only needs a single resistor to do that. | |
| Jun 30, 2022 at 11:39 | comment | added | João Moreira | Thanks for your answer. The only way I see to differentiate is how JRE said above. But if you know how to differentiate with digital pins, I would like to know how. | |
| Jun 30, 2022 at 10:24 | history | edited | Justme | CC BY-SA 4.0 |
added 40 characters in body
|
| Jun 30, 2022 at 10:21 | comment | added | Justme | @JoãoMoreira You are mistaken. The two top buttons and the provide a different resistance between the pins, which can be detected. You can't detect the difference with a digital input, but you can by using an analog input. Please remember you only just asked what is the difference. If you wanted to know how to read the different buttons with an Arduino, you should have asked about that instead. | |
| Jun 30, 2022 at 10:08 | comment | added | João Moreira | Please read my EDIT1. There's no way to differentiate the two buttons at pin 14. | |
| Jun 30, 2022 at 9:45 | history | answered | Justme | CC BY-SA 4.0 |