0

GPIO switch on and off based interactive



I am currently using BrightAuthor to create an interactive that should display an image once a button is pressed and held, then, once the button has been released, return to the initial blank screen. Is this possible or will I have to rely on timeout events?

8 comments

  • 0
    Avatar
    RokuLyndon


    Which version of brightauthor are you using? And, what firmware is on your unit. I can modify your autorun script that goes with your brightauthor software, a custom script, so that the unit listens both for button presses and button releases. In brightauthor, it will just be seen as another button press.

    This custom autorun I'm adding works with brightauthor 2.0.0.42. In the example below, pushing button 0 plays an image, and releasing takes you back to the blank image. Pushing button 1 plays a video and releasing takes you back to the blank image. This version works with BrightAuthor 2.2.


    I'm also attaching an image of my example project, and an image showing where under file presentation properties you can add the custom autorun to your brightauthor project.
    http://dl.dropbox.com/u/3480052/Content/button-up1.JPG

    http://dl.dropbox.com/u/3480052/Content/button-up2.JPG
  • 0
    Avatar
    zancroft


    I am using BrightAuthor version 2.0.0.23 and firmware version 3.2.85.
    I've set it up to use the custom autorun, and now just need to know if all i do is put another instance of the button press, like it appears in your images, or if there is a property i need to change within the button press event to distinguish it between an on and off.

    Never mind, just tested this out and it appears to be working just as I need it to.
    Thanks for the help.
  • 0
    Avatar
    cd302


    hey there,

    i tried the script posted above with an hd1010 (firmware: 3.3.78) with Bright Author Version 2.2.0.37 to acomplish the same task.

    - start video when button 1 is pressed and held
    - stop video and return to homescreen when button1 is released.

    Unfortunately the presentation doesn´t work at all. Do i have to rename my homescreen-jpg and video-file to the names used in your jpg of the Bright Author example project ?

    What else could possibly be wrong ?

    Thanks a lot for your help
    cd302
  • 0
    Avatar
    RokuLyndon


    This script was only for brightauthor 2.0.
    This new scriptI'm adding below will work with 2.2.
  • 0
    Avatar
    cd302


    works !

    thanks a lot !
  • 0
    Avatar
    Alfonso Descalzo

    And for the BA 3.7.0.14?

    Is it possible to have it?

    Thanks in advance

  • 0
    Avatar
    Alfonso Descalzo

    ...it´s for an XD

  • 0
    Avatar
    Lyndon

    This faq tells you how to enable button presses and releases. It  works in your current brightauthor.

    http://support.brightsign.biz/entries/22190141-Custom-Accepting-GPIO-button-presses-and-release-as-button-events

     

Please sign in to leave a comment.