×

Our Technical Support team will be out of the office on Wednesday, April 23 starting at 12pm. Tech Support will reopen with normal hours on Thursday, April 24 at 9am. Thank you

Filippo

Member Since: August 22, 2010

Country: United States

  • Tutorial - Controlling an Arduino with an iPhone | about 4 years ago

    I have written a draft. Could someone check it please? Ufortunely I haven’t an iphone for testing. Anyway someone could check my new processing code. Here my code:
    import oscP5.; // Load OSC P5 library
    import netP5.
    ; // Load net P5 library
    import processing.serial.*;
    OscP5 oscP5;// Set oscP5 as OSC connection
    Serial myPort; // The serial port:
    int servo1 = 0;
    int servo2 = 0;
    int servo3 = 0;
    int serialBegin = 255;
    float X,Y
    void setup() {
    size(600,600);
    myPort = new Serial(this, Serial.list()[1], 115200);
    frameRate(100);
    noCursor();
    }
    void oscEvent(OscMessage theOscMessage) { // This runs whenever there is a new OSC message
    String addr = theOscMessage.addrPattern(); // Creates a string out of the OSC message
    // if(addr.indexOf(“/1/toggle”) !=-1){ // Filters out any toggle buttons
    X=theOscMessage.get(0).floatValue();
    Y=theOscMessage.get(1).floatValue();
    }
    }

  • Tutorial - Controlling an Arduino with an iPhone | about 4 years ago

    Hi! Great staff! I am interested in a robotic project:http://letsmakerobots.com/node/10577
    I would like to manage this delta robot via iphone. In a comment of the same link there is the processing code. Please have a look.
    Could someone help me to modify it to communicate with TouchOSC? Could I use a XY pads? Is it possible?
    Please help me. Thanks a lot, Filippo

No public wish lists :(