Waiting for pyfirmata subroutine to end before capturing image
I am trying to control the intensity of an LED using a PWM port on an Arduino, and capture with a camera the resulting brightness of the LED at a given setting. What I would expect is that at a setting of zero, the LED power is minimized, and at a setting of 1, power is maximized.