Function install_int_ex

  • Allegro

    Installs interrupt function.

    Parameters

    • proc: (() => void)
        • (): void
        • Returns void

    • speed: number

      execution interval

      1.6.4

    Returns void

    Remarks

    With this one, you must use helper functions to set the interval in the second argument. The lowest interval is 1 msec, but you probably don't want to go below 17 msec. Suggested values are BPS_TO_TIMER(30) or BPS_TO_TIMER(60). It cannot be used to alter previously installed interrupt function as well.

Generated using TypeDoc