function buttonPressed(btn) {
  if (btn === 3) {
    nextFace();
  } else {
    firstPress = getTime();
    if (pressTimer) {
      debug_log("CLEAR pressTimer 1");
      clearInterval(pressTimer);
    }
    debug_log("SET pressTimer 1");
    pressTimer = setInterval(longPressCheck, 1500);
  }
}
// start a timer and buzz when held long enough
start a timer and buzz when held long enough
start a timer and buzz when held long enough
function buttonPressed(btn) {
  if (btn === 3) {
    nextFace();
  } else {
    firstPress = getTime();
    if (pressTimer) {
      debug_log("CLEAR pressTimer 1");
      clearInterval(pressTimer);
    }
    debug_log("SET pressTimer 1");
    pressTimer = setInterval(longPressCheck, 1500);
  }
}
function buttonPressed ( btn ) { if ( btn === 3 ) { nextFace ( ) ; } else { firstPress = getTime ( ) ; if ( pressTimer ) { debug_log ( "CLEAR pressTimer 1" ) ; clearInterval ( pressTimer ) ; } debug_log ( "SET pressTimer 1" ) ; pressTimer = setInterval ( longPressCheck , 1500 ) ; } }
start a timer and buzz when held long enough
start a timer and buzz when held long enough