PDA

View Full Version : pic basic pro midi in,4mhz,16f84a?



itancred
- 30th December 2011, 00:35
anyone know how to do this? aim any response at beginner level cheers.

mackrackit
- 30th December 2011, 09:44
Flipper did some MIDI stuff here
http://www.picbasic.co.uk/forum/showthread.php?t=12055&highlight=midi

mackrackit
- 30th December 2011, 09:51
For learning PicBasicPro as you posted in the chat box. I do not think that there are any good books to learn from.
But you can work through the examples here
http://melabs.com/samples/index.htm
and here
http://rentron.com/PicBasic1.htm
http://rentron.com/pic.htm
and the wiki on this forum has many examples and projects.

If you get stuck post a question, if we can help we will.

Sherbrook
- 3rd January 2012, 17:51
Midi sends at 31250 baud rate. Picbasic is not fast enough at 4mHz. You would have to use asembler.
I have decoded my Midi controller keyboard with a PIC16F628 at 16mHz using the built in uart.
You have to use fast osc to get the baud rate acurate enough.