Shop OBEX P1 Docs P2 Docs Learn Events
MIDI OUT from inbound on/off switches — Parallax Forums

MIDI OUT from inbound on/off switches

VJ AnomoleeVJ Anomolee Posts: 15
edited 2007-05-05 19:44 in BASIC Stamp
Hello everyone,
This is my first time posting in this forum. So not entirely sure im posting this in the right category
My question is How can i use a momentary contact switches (its actually going to be 14 laser to photocell switches) to send a MIDI note on and then off value out over MIDI (which will then trigger a video on my laptop-and off value stops the video).
-As far as wiring i can probably use Tom Igoe's schematic from the physical computing book.
(see attached pics)

But my main hurdle is the Basic code for taking in 14 different laser to photoresistor on off switches and translating that to a MIDI note on off msgs to send out via the wired MIDI port.

Any help at all would be greatly appreciated.
350 x 172 - 8K
400 x 263 - 14K

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-05-05 19:24
    How are you coding the MIDI out? For the closures you will need another chip (or chips) to handle that many inputs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-05-05 19:31
    This is a duplicate of this thread: http://forums.parallax.com/showthread.php?p=648931.

    VJ, it's best to post a thread only once. That way the discussion will be confined within a single context, and there's less chance of duplicated effort on the part of forum participants.

    -Phil
  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-05 19:33
    Please don't post the same message in more than one forum. It confuses people, results in duplicate replies, and is against the forum rules. It may be better to post a final comment in the thread where you originally posted your message, referring people to a new forum, then start with a partial introduction to your question with a reference to the original thread.
  • VJ AnomoleeVJ Anomolee Posts: 15
    edited 2007-05-05 19:34
    Sorry Phil, but actually i might not have ever gotten Franklins valuble input had i not double posted.
    and i mentioned the bit about not knowing exactly what category to post in.
    But i understand your point

    -thats cool, wont happen again.
    dualy noted

    Everyone please reply to this thread henceforth
    http://forums.parallax.com/forums/default.aspx?f=6&m=189181&p=1

    Post Edited (VJ Anomolee) : 5/5/2007 7:47:16 PM GMT
  • FranklinFranklin Posts: 4,747
    edited 2007-05-05 19:44
    No, you would have gotten it. I saw your other post after responding to this one.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.