Skip to content

1.3.0

Compare
Choose a tag to compare
@duart38 duart38 released this 21 Feb 16:54
· 4 commits to main since this release
  • Added waitForValue method which can be used to wait (and thus block) until a pin is of a given value.
  /**
   * Queues up an instruction that waits until the pin is of the given value before continuing execution.
   * > This instruction blocks all further scripts until the pin is of the given value.
   * @param pinValue the pin value to wait for. defaults to 1 (HIGH)
   */
  waitForValue(pinValue: PinValue = 1){...}