fixed wiring (swapped A and B port)
added Fritzing sketch