OR gate acts as an AND gate | Cypress Semiconductor
OR gate acts as an AND gate
On the PSoC4 Pioneer Kit I've got a simple test gate configured in the following way...
Breadboard setup: http://imgur.com/OMZl0gR
SW1 is P0 -----> Resistive Pull Up (Initial state: High)
SW2 is P0 -----> Resistive Pull Up (Initial state: High)
LED is P0 -----> Strong Drive (Initial state: High)
Having an OR gate setup I would expect that when I press SW1 or SW2 the LED would turn on. However, this is not the case. Instead what ends up happening is if I press SW1 and SW2, the LED will turn on acting like an AND gate.
- Why is my OR gate acting like an AND gate.
- What am I not understanding in the way my circuit is built
- What am I not understanding in the way PSoC works
- Can someone show me how to make my OR gate act like an OR gate
Relitively new to PSoC. Just finished studying Digital Logic at school (We used Quartus w/ Altera's CPLD)