TODO: - make current draw zero when no cable is connected v1 == changes: - make capabilities more compact - add interpretation purpose part - add button for battery usage - add connector presence test fixes: - BC test. I'm not sure what I had in mind but there were too errors: micro-B D- and D+ are shorted on the board (thus no way to detect the short in the plug), D-/D+ on the test would be left floating on plug with BC (thus would not turn the LED on) - VBUS test. On cables with ground wire, but no VBUS wire (such as A-C cable with not all GND or VBUS pin in C plug), the power ground would pull down VBUS through LED D1A for host A just enough to switch on Q1, lighting up LED D1C LED for host C - CC test: only for *-C cable. C to micro-B would also trigger it - and improve a lot of other tests issues: v0 == first prototype containing testers for USB A, micro-B, and C. not tested yet. only shows the features, and does not interpret them. issues: - BC test is wrong - shield is detected although there is none (not sure why) - Rp is detected although there is none (not sure why) - red LEDs is too bright (1 kOhm current limiting resistor is too weak, 5.1k is better)