how to keep value duty of pwm in banana pi using RPi.GPIO library

1 2428
i'm using RPi.GPIO library to control GPIO pin
to control led brightness i'm using pwm but after program end, a led off
i'm using RPi.HIGH to turn on a led, after program end led keep on, im not using GPIO.cleanup()
my question how to keep a led on after program end using pwm to control a led brightness

You have to log in before you can reply Login | Sign Up

Points Rules