Jun 10, 2017
06:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2017
06:42 AM
Hi,
I find API to set pins mode in run-time,but if sometime I want to change pins type such as from input to output in run-time,is it possible?
Chris
3 Replies
Jun 10, 2017
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2017
07:15 AM
You cold use a pin configured for input and output. If required with an additional output enable. When using the pin as input set the output to high-z.
Bob
Jun 10, 2017
09:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2017
09:25 AM
Hi Bob,
Thanks for your quickly response.
What if I need to change pin type among Analog,Digital input and Digital Output? will it go wrong in hardware if I configure all?
Chris
Jun 10, 2017
11:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2017
11:51 AM
Do it, it works!
Bob