Anonymous
Not applicable
Feb 20, 2017
02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 20, 2017
02:08 PM
seemingly simple question - just stating out with this equipment -
Want to connect a simple set of switch inputs to the CY8CKIT-042-BLE dev board. have 3.3 VDC supply to connect through a switch. Do I switch the input to ground? What input configuration should I chose. My sense is high impedance digital.
any help of where I should look for examples?
Solved! Go to Solution.
Labels
- Labels:
-
BLE
1 Solution
Feb 20, 2017
02:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 20, 2017
02:19 PM
You can connect the switch to either ground or Vcc (as long as the Vcc is the same as the one for your board). Connect a resistor to the other power rail (so the input has a defined state when the switch is off).
Or you configure the input pin as having a pull up (or pull-down resistor), then you can skip the external one.
2 Replies