wojtek_b Posted December 11, 2017 Share Posted December 11, 2017 I have a script, that should turn off the usb power (i need to turn off smog-meter, in order to preserve laser). It should actually work in a way, that turns on, measures, turns off and waits for the next iteration. The code used I believe on A20 is: /usr/bin/sunxi-pio -m PH26'' however it does not work on H2+ Any suggestion, what would work? Link to comment Share on other sites More sharing options...
martinayotte Posted December 11, 2017 Share Posted December 11, 2017 No, not PH26, but PH6 on Olimex A20. But on OPiZero, the USB1 has not a switchable power, only USB0 which is switchable on PL2. Link to comment Share on other sites More sharing options...
Recommended Posts