How do I set the GPIO output(s) to turn on and off quickly (pulse) in BrightAuthor?

Last Updated: October 14, 2015

You can turn GPIO outputs on/off quickly using the Pause command.

  1. Create an Interactive presentation in BrightAuthor (see Chapter 4 -- Making a Presentation Interactive in the BrightAuthor User Guide for more details).
  2. Open the media state or event where you want the GPIO pulse to occur.
  3. Click the Advanced tab.
  4. Use the Add Command button to add three commands.
  5. Set the first command to GPIO -- On. Enter the GPIO pin connected to the LED (it must be configured as an output pin in File > Presentation Properties > I/O).
  6. Set the second command to Other -- Pause. Enter a short length of time (in milliseconds) to pause.
  7. Set the third command to GPIO -- Off. Select the GPIO pin used in step 5.
Timeout_Event_Commands.png
Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    Rawmediatek

    OK - what if I need to "blink" this output or multiple outputs for a minute?  4 times a second x 60 second = 360 commands to put in here.  Is there a simple way to put this in once and then loop it until another event takes it out of this state?  Can I use an event handler instead of triggering this with a video or graphic file?  Or can I go between two event handlers, each with a set on on-pause-off-pause commands and trigger the other event handler to continue the same?  Could really use a Set Panel Output - blink (slow, med, fast) but for the GPIO instead.

  • 0
    Avatar
    John Peel

    I'm looking to do the same thing.  When I set entry commands, it appears to run those commands prior to playing the file. What I want is for the leds to blink while a file is playing.  What I see is the leds blink, then the file will play.  When the file loops, same thing.

    I have a simple 3 button presentation with an attract loop.  I'd like buttons to blink during the attract but have the chosen button stay lit during its clip.   No issues with the latter but I can't get the buttons to blink continuously during the attract.  Using an XD1230, latest firmware.

     

    Thanks

  • 0
    Avatar
    Aaron Billheimer

    Hi Rawmediatek,

     

    I did this by making using a still image that I set on a lower zone that I set to run for 1 second and then repeat. I then put the blink commands in as Lyndon suggested. I have mine blink twice a second.  I then had the looping 1second image file start when my media did, and stop when the media ended.

     

    Best,

    Aaron

  • -1
    Avatar
    rapas38263

    https://www.google.com/  for coding information

Please sign in to leave a comment.
Can't find what you're looking for? Try to
Powered by Zendesk