Post

3 followers Follow
0
Avatar

Prevent retrigger til end of file playback

Hi, is it possible to code a touch board electrode (or all 12) to ignore new triggering input until a previously triggered file is played to end.

If so, can someone please point me to a code I can use for this, or make small changes to. I´m a total nube!

Cheers!

Jens Toyberg

Official comment

Avatar

Hi Jens

Try commenting out lines 135-152 in Touch_MP3.ino (https://github.com/BareConductive/touch-mp3/blob/public/Touch_MP3/Touch_MP3.ino#L135-L152) - i.e. putting a // at the beginning of the line. You can also do this by selecting the lines in the Arduino IDE and pressing Ctrl+/ (or Cmd+/ on a Mac).

If you haven't yet set up Arduino with your Touch Board so that you can upload your own code to it, check out our tutorial here - http://www.bareconductive.com/make/setting-up-arduino-with-your-touch-board/

All the best

Stefan

Bare Conductive
Comment actions Permalink

Please sign in to leave a comment.

1 comment