GPIO (General Purpose Input/Output) pins allow you to connect devices like buttons or sensors to your BrightSign player to control presentation content. They are unique because they can be configured as either inputs to read signals from external devices or outputs to send power to external devices. For example, they can be used to trigger video playback when a button that is connected to a GPIO pin is pressed, or to read temperature or light levels from sensors connected to GPIO pins to adjust content based on environmental conditions.
...
Create a presentation with four videos, one main video state and three secondary video states (named “A”, “B”, and “C” in Image 1, above)
In Presentation Settings > Interactive > Connectors, set GPIO pins 0-4 to Input and 4-7 to Output as shown in the image.
Under the Events toolbar, select GPIO 0.
Connect the GPIO 0 icon to the main video state and then to the “A” video state. Do the same to connect GPIO 1 to the main video state and the “B” video state, and GPIO 2 to the main video state and “C” video state.
Select the “A”, “B”, and “C” video state in the sandbox and connect the GPIO 3 icon to all of them and then back to the main video state. Now your inputs are set up and we will set up the outputs/voltage.
Select the main video state. In State Properties > Advanced:
Add a GPIO command an Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to On and 4.
Do the same for GPIO ports 5 and 6 as shown in Image 2, below.
Add a command to set GPIO 7 to Offan Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to Off and 7.
Select the “A” video state. In State Properties > Advanced:
Add GPIO commands for ports 4, 5, and 6, an Entry Command. Select GPIO from the dropdown menu and set the Command Parameters to Off. Add a GPIO command for port 7 and set the Command Parameters to On and 4.
Do the same for video states “B” and “C”.
GPIO ports 5 and 6.
Add an Entry Command and set the Command Parameters to On and 7 (so the user can return to the home video by pressing that illuminated LED when the “A” video is playing).
Repeat these steps for video states “B” and “C”
.
...