Gabriela's ITP Thesis Project

Wednesday, April 13, 2005

Worked it out ... with the PIC

So, it appears that I have finally solved one of my major problems on the pic (chip) side. After a few nights of frustration, I finally have cleaned up my code such that it is only reading in MIDI signals from one switch at a time. Previously, my code was reading that one switch (attached to one of the pins of my pic) was turned on, but also reading that the others were turned off, and sending those messages as well. I was able to do some cleaning up with a repeat loop, but it wasn't as short as I hoped it would be. I still had to use a lot of conditional (if/then) statements, but, at least I was able to finally have it such that one corresponding light would go on and one MIDI signal would be transmitted.

So far, I have been able to successfully read in these signals with the MIDI monitor (into my Mac), but I am having problems on the Jitter side, which I hope to work out with my teacher. It appears that I keep getting some kind of port error, so I can't receive signals serially. There must be some kind of setup that I am missing.

0 Comments:

Post a Comment

<< Home