With reference to this article USB Voltage and Current Tester, it shows a diagram as follows:
May I know if it is the same as the following circuit diagram:
This is because according to the article, they only use the black and red cable.
There is no mention of how should I do with the green and white cable.
If the circuit diagram is wrong, I would appreciate if someone can enlighten me the correct circuit diagram.