added getTempo() for current tempo bpm time

pull/7/head
midilab 7 years ago
parent d11f692936
commit 9db6fafa7b
  1. 5
      src/uClock.cpp

@ -193,6 +193,11 @@ void uClockClass::setTempo(uint16_t _tempo)
SREG = tmpSREG; SREG = tmpSREG;
} }
uint16_t uClockClass::getTempo()
{
return tempo;
}
void uClockClass::clockMe() void uClockClass::clockMe()
{ {
if (uClock.mode == uClock.EXTERNAL_CLOCK) { if (uClock.mode == uClock.EXTERNAL_CLOCK) {

Loading…
Cancel
Save