PWM / Circuit control

These functions control PWM channels.

Generally, these functions will adjust the channel volume (0 - 100% within the set PWM range on the channel) or turn the channel on/off (switching between the set volume and outputting 0V on the PWM channel).

PWMToggle()

Use a toggle switch to turn a PWM channel on/off, or just use a regular button (will have to be held pressed unless it is a physically latching button).

PWMPot()

Set up a potentiometer to adjust the volume of a PWM channel.

rotary2PWM()

Standard incremental encoder in the rotary2bit category. Rotating CW will give a button pulse, rotating CCW will give a button pulse with a button number 1 value higher.

Holding the modButton will make this encoder adjust the PWM volume up and down by a custom increment.

funkyPWM()

Standard incremental encoder in the funkyRotary category. Rotating CW will give a button pulse, rotating CCW will give a button pulse with a button number 1 value higher.

Holding the modButton will make this encoder adjust the PWM volume up and down by a custom increment.

PEC11PWM()

Standard incremental encoder in the PEC11 category. Rotating CW will give a button pulse, rotating CCW will give a button pulse with a button number 1 value higher.

Holding the modButton will make this encoder adjust the PWM volume up and down by a custom increment.

rotaryPulsePWM()

Standard incremental encoder in the rotaryPulse category. Rotating CW will give a button pulse, rotating CCW will give a button pulse with a button number 1 value higher.

Holding the modButton will make this encoder adjust the PWM volume up and down by a custom increment.

rotaryAnalogPWM()

12 - position switch. Absolute.

Produces no button presses, but the position of the switch is still detected by the firmware and can be used for conditional coding or rotaryInject. The switch works like a volume knob for a PWM channel.

rotaryAnalogPWM12()

12 - position switch. Absolute.

Works similar to rotaryAnalogSimple(), but with the added feature of producing button presses in each position. To adjust PWM volume you'l have to hold a modButton. Adjustments are with a custom increment.

Last updated