Anonymous
Not applicable
Nov 30, 2016
08:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 30, 2016
08:27 PM
hi all!
i have some problem with module TTP 229. And i can't find same project TT229 with Psoc 5.
Can you teach me!
Sorry my english is not good.
Thanks all.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 5LP
1 Solution
Dec 01, 2016
03:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 01, 2016
03:49 AM
You should use a different drive mode for your SDO pin which is currently high impedance. When your button is not pressed the pin's state is not really defined.
Use "Resistive pull up" initially drive High.
Then you read "1" when the button is not pressed and "0" otherwise (when button shorts to GND)
Best practice is to wait until the button is released before proceeding further.
Of curse you will see a random number when you press the button: the loop executes so fast no way to determine the count.
Bob
7 Replies