Yes, that's what I needed. Thanks.
What is the "wait", a variable?
When I try to compile it in micro code studio I get an error for
HSerIn [wait($90), note, Velocity]
it says "expected ']'.
Thanks,
Tony
Yes, that's what I needed. Thanks.
What is the "wait", a variable?
When I try to compile it in micro code studio I get an error for
HSerIn [wait($90), note, Velocity]
it says "expected ']'.
Thanks,
Tony
Last edited by TonyA; - 14th July 2006 at 20:46.
Hi Sorry, that works. I had to fix my code.Originally Posted by TonyA
I'm sure the hserin will work, but I like to read the port directly. Here is a
program that I wrote 3 years ago for a 909 kick drum copy that I built. It worked
great. It only responded to one MIDI channel and one note, but I think you will
be able to see what's happening and figure out how to implement your design.
That's cool, thank you. I'll let you know how it works out. Thanks again.
Tony
Yeah, this should work. I don't think I ever built the circuit though. I was thinking about making a midi receiver but I never did.
Let us know if you try it.
Well, I'm working on a MIDID receiver based on HSERIN but not sure of a few things.
1. MIDI seems to be active low so when no data= +5V. Data = 0V
So I'm not sure if USART (16F88) if compatible or do I have to invert polarity.
2. MIDI seems to come from the legacy of Motorola based arquitectured (Big endian) Pics are Little endian ( I think this is true) so ata has to be inverted.
So any info would help!
Bookmarks