Anonymous
Not applicable
May 03, 2017
10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 03, 2017
10:50 AM
An input port of a 20737 is defined as pull-up and interrupt (for a button).
Reading the input always returns the same value no matter whether the pin is connected to ground or not.
When not registering the interrupt the source, then the proper value is returned.
Any ideas how to solve this?
Solved! Go to Solution.
Labels
- Labels:
-
GPIO
1 Solution
May 03, 2017
09:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 03, 2017
09:50 PM
You must first reconfigure the GPIO pin as an input, poll it, then reconfigure as interrupt. Let me know if the below thread helps.
2 Replies
May 03, 2017
09:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 03, 2017
09:50 PM
You must first reconfigure the GPIO pin as an input, poll it, then reconfigure as interrupt. Let me know if the below thread helps.
May 04, 2017
01:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2017
01:46 AM
Thanks !
That works