0

Disable GPIO input for x secopnds after button press



Hi all, I am configuring a panel of buttons to initiate playback in a public setting. I would like to disable the buttons for 10 seconds after a video is initiated to keep people from pushing too quickly and annoying other patrons. Is there a way to do this (using BrightAuthor preferably.) I noticed that you can disable the GPIO using commands but i don't see a way of re-enabling GPIO after a set delay. thanks, gerry

8 comments

  • 0
    Avatar
    RokuLyndon


    You can't do it directly in brightauthor, but it could be done with a customized version of the brightauthor autorun.

    when do you need this?
  • 0
    Avatar
    Gerry Lawson


    Hi Lyndon,

    I need it for late next week.

    gerry
  • 0
    Avatar
    Miguel Chica


    Hi,

    I'd need to know if finally it's possible to disable the GPIO during a clip is being played. Actually, the contact closure  will activate two Brightsign synchronized... Is it possible then to disable the GPIO input during the clips being played in synchronization? How can it be achieved?

    Thanks in advance.

    Miguel Jesús Chica Ordóñez
    Tech Support and Programming
    IberCOMM-TEC
    <!-- w --><a class="postlink" href="http://www.comm-tec.es">www.comm-tec.es</a><!-- w -->
    e-mail: <!-- e --><a href="mailto:soporte@comm-tec.es">soporte@comm-tec.es</a><!-- e -->
  • 0
    Avatar
    RokuLyndon


    Custom autorun to disable gpio for 15 seconds after video plays.

    Delay is configurable at top of script.

    'custom values
    sysflags.mod = createobject("roAssociativeArray")
    sysflags.mod.gpioDelayOn=true 'turns on gpio delay feature
    sysflags.mod.gpioDelayed=false 'sets whether gpio is delayed at start of project
    sysflags.mod.gpioDelayAmmount=15 'number of seconds
  • 0
    Avatar
    Miu


    Dear Lyndon,

    I've tried the autorum with my BrightSign Project with 5 Videos an 5 Buttons, but it doesn't seem to work.

    Can you explain, what i have to do to make this work?

    I have tried to set it as "Custom Autorum" in BrithtAuthor and to replace it directly on my Sd-Card. But both methods don't work for me.

    Thank you in Advance.
  • 0
    Avatar
    RokuLyndon


    This versioni is for brightauthor 2.0. A different version would be needed for brightauthor 2.2. Are you using 2.0 or 2.2?
  • 0
    Avatar
    Miu


    I'm using brightAuthor 2.0.0.42, but it doesn't work.
  • 0
    Avatar
    RokuLyndon


    please send me a sample project file, your bpf file where you are using this. Please send to <!-- e --><a href="mailto:support@brightsign.biz">support@brightsign.biz</a><!-- e -->.
Please sign in to leave a comment.