This action will alternately display two colors for the selected duration/delay on the LED .
- API endpoint slug
- graspio.flash
- Filter code method
- Graspio.flash.skip(string?: reason)
- Runtime method
- runAction("graspio.flash", {})
Action fields
- Label
- Board Name
- Helper text
- Select the board for the action to run on.
- Slug
- board_id
- Required
- true
- Can have default value
- false
- Label
- Repeat
- Helper text
- Set the number of flash cycles. 1 cycle is a sequence of LED in color 1 followed by color 2.
- Slug
- repeat
- Required
- true
- Can have default value
- true
- Filter code method
- Graspio.flash.setRepeat(string: repeat)
- Label
- LED Color 1
- Helper text
- Set the first color for the LED.
- Slug
- led_color_1
- Required
- true
- Can have default value
- true
- Filter code method
- Graspio.flash.setLedColor1(string: ledColor1)
- Label
- Delay
- Helper text
- Set the LED ON duration for each color.
- Slug
- delay
- Required
- true
- Can have default value
- true
- Filter code method
- Graspio.flash.setDelay(string: delay)
- Label
- LED Color 2
- Helper text
- Set the second color for the LED.
- Slug
- led_color_2
- Required
- true
- Can have default value
- true
- Filter code method
- Graspio.flash.setLedColor2(string: ledColor2)