Function configureChannel

  • Configure the given LEDC channel.

    Parameters

    • channel: number

      The channel to configure.

    • pin: number

      The pin to configure the channel to.

    • timer: number

      The timer to configure the channel to.

    • duty: number

      The duty to configure the channel to (0-1023).

    Returns void

Generated using TypeDoc