SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By frodo.jedi
#190809
Hello everybody,
I need an help with the hookup of the Led Tactile Button Breakout: https://www.sparkfun.com/products/10467 ... dd5c8b4568

it is not clear to me how to connect the wires to the x-OSC microcontroller board I am using
(http://www.x-io.co.uk/products/x-osc/). Differently from Arduino, this board does not allow for programming...

I have connected the A to voltage, C to pulldown (10k resistor) and then to GND. Then I connect B1 and B2 to the inputs of the board to read the status od the button.
In this way the led is always on regardless of the status of the button, and I don't get any variation of the input values of the board.
What I am doing wrong? And how/where I connect B1 and B2?

Thanks in advance
User avatar
By DanV
#190831
You should use a meter to determine what pins do what.
I think (I have NO experience with this device) that 'A' is the LED anode and 'C' is the cathode.

So, if you connected 'A' to voltage and 'C' to a (why do you call it a pulldown unless you think this is part of the switch section of the device?) and then to ground, you have merely wired the LED to light up - no control here.

Also, you may be very mistaken that 'this board does not allow for programming'.
the user manual:
http://www.x-io.co.uk/downloads/x-OSC-U ... l-v0.4.pdf
clearly indicates that you need to configure the I/O (see pages 10 & 11).
Beyond that, you will likely need to configure what happens when input x is on (like turn on output 1).