Update TeensyUsbSlaveMidiClockMonitor.ino

pull/26/head
Jackson-Devices 8 months ago committed by GitHub
parent 865f04864b
commit 633b5f8520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino

@ -102,7 +102,7 @@ void setup() {
u8x8->begin(); u8x8->begin();
u8x8->setFont(u8x8_font_pressstart2p_r); u8x8->setFont(u8x8_font_pressstart2p_r);
u8x8->clear(); u8x8->clear();
//u8x8->setFlipMode(true); u8x8->setFlipMode(true);
u8x8->drawUTF8(0, 0, "uClock"); u8x8->drawUTF8(0, 0, "uClock");
// //
@ -129,7 +129,7 @@ void loop() {
if (bpm != uClock.getTempo()) { if (bpm != uClock.getTempo()) {
bpm = uClock.getTempo(); bpm = uClock.getTempo();
u8x8->drawUTF8(8, 7, String(bpm, 1).c_str()); u8x8->drawUTF8(8, 7, String(bpm, 1).c_str());
u8x8->drawUTF8(8+5, 7, "bpm"); u8x8->drawUTF8(8+5, 7, "BPM");
// clear display ghost number for 2 digit // clear display ghost number for 2 digit
// coming from 3 digit bpm changes // coming from 3 digit bpm changes
if (bpm < 100) { if (bpm < 100) {

Loading…
Cancel
Save