Skip to content

Commit

Permalink
gpio stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien Bron authored and Bastien Bron committed Sep 19, 2023
1 parent 232ffa2 commit 8ffaeee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions borne/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
font-style: normal;
}

* {
cursor: none;
}

body{
padding:0 0;
margin:0 0;
Expand Down
2 changes: 1 addition & 1 deletion machineatubes/tube.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def mix_videos(self):
print("add videonote %s %s" % (b, v[0]))
vid = VideoNote(file=videos[v[0]][i])
self.videonote(b, vid)
i = (i + 1) % len(videos[v[0]])
i = (i + 1) % (len(videos[v[0]]) - 1)

def get_intro_video(self, id):
print("get video id " + id)
Expand Down
2 changes: 1 addition & 1 deletion ui/machine.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
intro_video.currentTime = 0;
intro_video.play();
intro_video.style.display = "block";
dedi_video.src = url;
dedi_video.src = dedi_url;
dedi_video.load();
dedi_video.currentTime = 0;
intro_video.addEventListener("ended", function(v){
Expand Down

0 comments on commit 8ffaeee

Please sign in to comment.