Hello, I'm trying to connect keypad, but I have problems even with creating of circuit.
I have errors like this - " Two or more connected terminals have mismatching types. All connected terminals must have the same type (i.e., all analog or all digital). Remove the incorrect terminal(s) and replace them with the correct type"
I'm newbie in this and rly hope for your help.
Here is scrshot of my project.
You did not check for your pins the option "external Terminal".
As a consequence you used to connect your (external) switches to the (chip-)internal side of the pins. External wires are always in blue.
Bob
So how I should improve that situation?
Replace input pins with output and connect to external terminal, or what ?
As a starting point, look at this (way to make a) component.
Bob
You mean guide for creating components ?
But how to improve my project ?
Sorry, Link did not work, my fault.
See here: http://www.cypress.com/forum/psoc-community-components/component-creation-part-1
Bob
That's cool, but as I see, it's full component which I can use. There is a problem, I have fullworking project with little bit another realization of keypad. But now I want to create my own, because using someone project never make me better in that area 🙂 and it;s very hard to find out how it works through borrowed one.
what do you mean ?
you can not connect the green and blue wires
Thx. Maybe I'm wrong but I thought that pins should have high level at the beginning, or you just did scheme like an example ?
I've seen that one, used few times, but it's bad because of absence of any kind of debouncer.
You can check the data after the valid pin is active or feed the valid pin to an ISR to insure the data is valid and stable. You could also modify the component library to add debounce components to each line.