0

CSV HD410 GPIO Problem



Hello,

we've connected 4 Buttons to the GPIO interface.
The csv file looks like this:
GPIOENABLEINPUT,0,,,,, GPIOENABLEINPUT,1,,,,, GPIOENABLEINPUT,2,,,,, GPIOENABLEINPUT,3,,,,, ,,,,,, EVENTS,,button:0,button:1,button:2,button:3,videoend STATE,ipod.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg

But on the Brightsign Box the Err LED is flashing when a button is pressed
Do we have to put another file on the SD-card or what's wrong 1

1 comment

  • 0
    Avatar
    RokuLyndon


    Your csv file must have a state entry for every file used. You only have one state row, and no state entry for the other images.



    Additionally, the videoend event is for videos. For images, you would use a timeout or mstimeout. So, your csv file should look more like this:



    GPIOENABLEINPUT,0,,,,,

    GPIOENABLEINPUT,1,,,,,

    GPIOENABLEINPUT,2,,,,,

    GPIOENABLEINPUT,3,,,,,

    ,,,,,,

    EVENTS,,button:0,button:1,button:2,button:3,timeout:5

    STATE,ipod.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg

    STATE,demo1.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg

    STATE,demo2.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg

    STATE,demo3.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg

    STATE,demo4.jpg,demo1.jpg,demo2.jpg,demo3.jpg,demo4.jpg,ipod.jpg



    Now there's a STATE entry for every file being played. And, the reason all the rows are the same is we want the buttons to always play the same file, no matter what file is currently being played.
Please sign in to leave a comment.