0

HD1010 - gpio LED syntax or jumper issue



We just got an HD1010 as a new unit after having an HD2000 (which I really like). I am using the BB200 to try to setup some interactive displays which will illuminate an LED when a video is playing.

The syntax in the Compact userguide doesn't seem to work to illuminate the LED (although it does work with the HD2000).

Perhaps I am misunderstanding the function of the jumpers or a bidirectional port. Maybe there is some scripting required to activate the gpios output side that I am not seeing.

I have put the jumpers so that buttons 0-3 are input and 4-7 are output. After booting, LEDs 4-7 are lit.

When a video file is activated using button 0, I would like to have LED 4 light up. Using the STATE, videofile.mpg:gpiosOn(4) syntax doesn't seem to work. The button function works, but the gpios doesn't seem to affect the LEDs at all.

It's probably something very simple. I have tried the test scripts to see that the buttons work and the LEDs work.

2 comments

  • 0
    Avatar
    RokuLyndon


    In your interactive playlist, do you also set the set which buttons are in and which are out.



    For example:



    GPIOENABLEINPUT 0

    GPIOENABLEINPUT 1

    GPIOENABLEOUTPUT 4



    There should be an entry for each gpio you're going to use. The keyword goes in the leftmost cell, and the value in the adjacent cell.
  • 0
    Avatar
    shultz


    Perfect.  This was just what I was looking for!
Please sign in to leave a comment.