********************************* fadeLed_pico.py ********************************* # Example of using PIO for PWM, and fading the brightness of an LED uses Pulse Width Modulation to blink (fade) a LED uses class PIOPWM to control LED on pin 25 on a Pico board functions/methods used: pwm_prog() pull() mov() label() jmp() nop() def __init__() _sm StateMachine() _sm.put() _sm.exec() _sm.active() _max_coumt def set count_freq sleep() set() #end program #class PIOPWM pio_dac.py mod by William ****************************************************** /fadeLed_pico.txt