Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

...

Example

In this example, we will associate receive inputs on GPIO ports 0, 1, 2, and 3 with GPIO events (inputs). GPIO ports 4, 5, 6, and 7 will be connected to lights (outputs) that will get voltage from those ports when triggered by the associated Advanced Commands, and the presentation will play the videos triggered by inputs associated with the input ports. In addition to receiving inputs on GPIO 0, 1, 2, and 3, we will issue advanced commands and issue Advanced Commands that will turn on LEDs associated with GPIO ports 4, 5, 6, and 7. The main video will play until the user selects any of the three buttons associated with GPIOs 0, 1, or 2 in which case it will launch the associated video state and the button associated with GPIO 3 (which lets the user return to the main video) will be illuminated.

...