Avatar for loopMasta

loopMasta

Member since Sep 2013 • Last active Jan 2016
  • 4 conversations
  • 22 comments

Most recent activity

  • in News
    Avatar for loopMasta

    OK. I'll try that. It's better than complaining all the time. :-) Where should i start?

  • in News
    Avatar for loopMasta

    Your question 'is MIDI actually a HID device' took me by surprise. I searched the web for more information to make sure that i use the proper terminology (Midi , USBMidi, HIDMidi, Midi over USB, etc.) and among others i found this interesting post by Paul Stoffregen.

    http://forums.adafruit.com/viewtopic.php­?f=51&t=51683&p=262051#p262017

  • in Interfacing
    Avatar for loopMasta

    @andrewn: I am trying to get enough facts together to convince Gordon that USB-Midi is a 'must have' feature. :-) But he is right. Not too many users asked for it and its not so easy to implement. I would definitely use the pico for my USB-Midi projects because i like the nodejs / closures / events / modules - concept.

    A alternative to USB-Midi could be OSC over USB/Serial/SLIP. It is supported by pd, Max, Ableton Live, Native Instruments and many others. But i don't know if that's easier to implement?

    http://cnmat.berkeley.edu/oscuino
    https://github.com/CNMAT/OSC
    https://forum.pjrc.com/threads/18849-Ope­n-Sound-Control

  • in News
    Avatar for loopMasta

    Oh no. I really wanted to replace my HiDuino based project with the pico. It would have been so much more fun with all its javascript goodness. :-)

    https://github.com/ddiakopoulos/hiduino

  • in News
    Avatar for loopMasta

    @gordon: Good news. I updated / downgraded ? my pico from 1v80 to 1v79.210 and it seems to work very well now. Thanks a lot. Great work.

    @all: Is somebody already working on a USBMidi module?

  • in News
    Avatar for loopMasta

    OK. I did some more test. My Mac recognises the pico HID mouse only at reboot. If i re-plug the pico the magic is gone.

  • in News
    Avatar for loopMasta

    Yes i did uploaded the code, called save() and re-pluged it. It did not work. I tried several times. Today i restarted my Mac with the still connected pico and suddenly it worked. Exactly 3 times. After that the pico did not respond anymore. (No LED on|off toggle) After opening the WEB-IDE i did get this message.

    Connected
    >Loading from flash...
    WARNING: Expecting a number or something iterable, got undefined
    WARNING: Expecting a number or something iterable, got undefined
    >
    =undefined
    >
    =undefined
    WARNING: Expecting a number or something iterable, got undefined
    WARNING: Expecting a number or something iterable, got undefined
    WARNING: Expecting a number or something iterable, got undefined
    WARNING: Expecting a number or something iterable, got undefined
    WARNING: Expecting a number or something iterable, got undefined
    > 
    
  • in News
    Avatar for loopMasta

    Hi Gordon, i did try to get this HID example up and running but it does not work for me.
    I can toggle the LED if i press the button but the mouse cursor does not move.

    var mouse = require("USBMouse");
    
    function toggle() {
      on = !on;
      digitalWrite(LED1, on);
    }
    
    setWatch(function() {
      mouse.send(20, 20, mouse.BUTTONS.NONE);
      toggle();
    }, BTN, {debounce:100, repeat:true, edge:"rising"});
    

    Maybe i am missing something here? Should the pico show up as a mouse device in my system USB device tree?

    ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'
    

    The only relevant device i can find with this call is the STM32 Virtual ComPort.
    I am using OS X 10.10.4 and Espruino 1v80

  • in JavaScript
    Avatar for loopMasta

    Thank you. Thats exactly what i was looking for.

Actions