Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Monomic not catching every button press

#2

Hello.

I am trying to capture button presses from my Monome 40h, but I cannot seem to capture them reliably. I am using a very basic sketch:

import processing.serial.*;
import jklabs.monomic.*;

Monome m;
void setup() {
  m = new MonomeSerial(this);
}

void draw() {
  if(m.isPressed(0,0))
  {
    m.lightOn(0,0);    
  }
  else
  {
    m.lightOff(0,0);    
  }
  
  m.lightOn(5,5);
}

The final m.lightOn(5,5) is simply there to confirm the connection works. It causes the correct light to turn on, so I am sure the monome is working correctly.

The problem is that it the the sketch only responds to about 1 in 20 button presses. Any idea how to diagnose this?

Reported by Joe Gatling · February 4th, 2012 @ 10:14 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.