#2 new
Joe Gatling

Monomic not catching every button press

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

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?

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

library for connecting the monome 40h and Processing

People watching this ticket

Pages