You can set the GPIO output drive level from 2 to 16 mA. Several libraries have facilities for this but how do I do it directly from the terminal?

  • 1
    For posterity: Beware this does not set the actual current (or control the maximum). It sets the safe maximum that can be driven. It will not prevent more than that being sunk or sourced, which may cause permanent damage. – goldilocks May 15 '17 at 16:02

The only libraries which provide for setting the pad drive level that I am aware of are wiringPi and (my) pigpio.

I don't know if wiringPi's gpio utility has the ability.

The pigpio pigs utility provides the pads command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.