You can turn GPIO outputs on/off quickly when interacting with media or event states using the Pause command.
Note: When using GPIO output(s) the GPIO pin in use must be configured as an output pin. To do this go to Presentation Settings > Interactive > Connectors > GPIO Configuration and select Output for the GPIO pin connected to the LED.
Media State
- Create an Interactive presentation in BrightAuthor:connected.
- Select the media state where you want the GPIO pulse to occur.
- In State Properties navigate to Advanced.
- Use the "+" to add three Entry Commands or three Exit Commands (depending on when you want the pulse to be triggered).
- Set the first Command to GPIO and the Parameters to On. Enter the GPIO pin that's connected to the LED.
- Set the second Command to Other and the Parameters to Pause. Enter a short length of time (in milliseconds) to pause.
- Set the third Command to GPIO and the Parameters to Off. Select the GPIO pin used in step 5.
Event State
- Create an Interactive presentation in BrightAuthor:connected.
- Select the media state where you want the GPIO pulse to occur.
- In Event Properties select the Advanced tab.
- Use Add Command to add three commands
- Set the first Command to GPIO and the Parameters to On. Enter the GPIO pin that's connected to the LED.
- Set the second Command to Other and the Parameters to Pause. Enter a short length of time (in milliseconds) to pause.
- Set the third Command to GPIO and the Parameters to Off. Select the GPIO pin used in step 5.
0 Comments