BrightAuthor:connected
Create GPIO Input
1 min
this page / section pertains to , our latest app for authoring and managing content and players for the legacy app, refer to our docid\ i5zf53dx56wdwdfhlrot1 this example presentation demonstrates how to define gpio input in brightauthor\ connected when gpio 0 is pressed the presentation will switch from the current video to the next video create an interactive playlist go to presentation settings > interactive , and locate the connectors tab (see image 1) go to gpio configuration and select input for gpio 0 add the videos to the playlist from the top events bar, select gpio 0 and draw a connection from video1 mp4 to video2 mp4 add a media end event to video2 mp4 to play it immediately after video1 mp4 finishes while video2 mp4 plays, gpio 0 input will be ignored to accept gpio 0 input during video2 mp4 and have it trigger video1 mp4 , draw a connection from the video2 mp4 to video1 mp4 state using the gpio 0 event from events pushing gpio 0 will now take you back to video1 mp4 select the gpio 0 event stemming from video2 mp4 and in event properties > target state select transition to new state and select video2 mp4 from the dropdown list (see image 2) now, pushing gpio 0 restarts video2 mp4 instead of taking it back to video1 mp4 screenshot 2024 03 29 at 2 35 04 pm png