usb-pd-arduino icon indicating copy to clipboard operation
usb-pd-arduino copied to clipboard

USB PD Source

Open gamingdoom opened this issue 2 years ago • 1 comments

Can this library be used to transfer power bidirectionally? For example, a power bank with one USB port as an input (for charging) and an output (to charge).

gamingdoom avatar May 18 '23 05:05 gamingdoom

The library currently implements USB PD monitoring and USB PD power sink mode. It does not yet support power source mode and role-swapping. (I'm not sure if the latter is required in your case.)

I'm happy to accept contributions if you want to write the additional code for power sinks.

manuelbl avatar May 18 '23 06:05 manuelbl