Shop OBEX P1 Docs P2 Docs Learn Events
At a crossroads - MIDI out (serial) from asm. — Parallax Forums

At a crossroads - MIDI out (serial) from asm.

__red____red__ Posts: 470
edited 2011-06-08 14:37 in Propeller 1
(Sorry, I posted this in the wrong forum earlier - moved.)

Greetings!

In the interests of full disclosure I've been writing in pasm for about a week or two so I'm still pretty green. Please don't laugh too hard at my code:

https://github.com/redvers/isokeyboa...er/isoasm.spin

I believe I have all my logic working now so I just need to write my MIDI output code where I put the debug NOPs in.

I know that MIDI output is simply serial out - awesome. However, I look at all the serial output code on obex I just don't understand how I'm meant to call it from my pasm if I'm supposed to at all.

So, what is the appropriate way to utilize code re-use in pasm?

Calling an Object or cut and paste? :lol:

Any other advice welcome btw.

Thanks,



Red

Comments

  • JonnyMacJonnyMac Posts: 9,208
    edited 2011-06-08 08:00
    I've attached a simple serial driver from which you can "liberate" the necessary code for you project (at label "transmit"). Of course, you'll have to setup 'bitticks" for the MIDI baud rate.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-06-08 14:37
    Welcome to the prop forum __red__. There are a lot of great guys and gals here that are ready, willing and able to answer any of your questions and provide help or pointers to the info required. Please don't hesitate to ask. The prop is a fantastic chip, as you will soon find out.
Sign In or Register to comment.