0

random outputs on GPIO

Hello, Would love some info on using the GPIO's. I have an up coming project where I need to have an external user input trigger a interactive playlist. Once the user has triggered the playback, I need the GPIO's to turn on and off 5 lights, one at a time, one after another for a random amount of time, with it ending on a random light when finished. After this has stopped, based on which light it ended on, the brightsign box will then playback a specific video file linked to the 'light'

I am rather new to Brightsign, so any help would be great!

2 comments

  • 0
    Avatar
    Bright Scripters

    Sounds like something that we could help you with.

    The BrightScript Rnd() function, along with some bitwise AND masking, could work for you.

     

  • 0
    Avatar
    Bright Scripters

    Anthony, if you need more help with custom coding, please contact us at info@brightscripters.com

Please sign in to leave a comment.