0

operating LED's using the HD2000



How do you get the HD2000 to light up a LED light when a specific box is touched?

4 comments

  • 0
    Avatar
    RokuLyndon


    Hi,



    In the user's guide, there's documentation on gpio commands. There are two discrete commands for turning leds on and off gpiosON(), gpiosOFF(). There's also a gpios() command that turns on the leds specified, and turns off the rest. These commands can be used in a csv file to trigger leds when a file is played.





    I sent you an example of the HD600 demo with gpio entries to turn on and off leds. All you have to do is download the hd600 demo from the web, and replace it's autoplay.csv file with the one I sent.



    Here are some sample entries from the csv file:



    STATE Dalmations.mpg:gpios(0)

    STATE aq.mpg:gpiosOn(2)

    STATE product1.bmp:gpios()



    In this example, line one will turn on led 0 whenever Dalmations.mpg is played, and turn off all other leds.



    Line two will turn on led 2 whenever aq.mpg is played. No other changes will be made.



    Line three will turn off all gpios when product1.bmp is displayed.



    You can also turn on leds in a playlist manually, using the lighton and lightoff keywords. See user's guide for more details.
  • 0
    Avatar
    moconnor


    Thanks, that works well.  Any luck finding some calibrating software for the touch screen coordinates?
  • 0
    Avatar
    Bima Subagio


    Hi,



    In relation to the GPIO port

    Is there a way of turning the leds on and off at various times during the playing of a video, either as code in the .csv file or via a scripting function.



    For example if I play a 40 second video, at 10 seconds into the video I want to turn on led 1 then at 20 seconds I want to turn led 1 off, then at 30 seconds I want to turn on led 3 then at 40 seconds I want to turn led 3 off at the end of the video.



    Regards

    Bima Subagio
  • 0
    Avatar
    RokuAnthony


    you can do this with a custom script.  Scripts can ask to receive events at any point in a video playback (eg. 10 seconds in, 20 seconds in, etc).



    I dont think you could do it with a playlist or csv (interactive playlist) file.
Please sign in to leave a comment.