usb wire colours&#4.jpeg

Hmmm, I did a quick google when looking for wiring colours, as I didnt have a B plug, so added the cables direct.
the one above, is wrong..... the green is D+ the white is D-

USB A Pinout..jpegUSB a b minib..jpg

Moral, look before you connect... ....

and best still, use a multimeter. !