[sdiy] Some AVR Code
patchell
patchell at silcom.com
Sun Sep 30 21:22:33 CEST 2001
According to the manual, putc is unbuffered (no interrupts), and besides,
to process midi properly, I will need to write my own interrupt routines
anyway, so why not.
In just a bit, I will be posting the serial in interrupt routines as well.
In a way, it is a good thing it is hotter than blazes here today. For the past
month I have been doing a 30 mile ride in the morning (for an old fart like me,
that takes about 3 hours), but I am so worn out afterwards, I generally just
lay back and read. So, instead of exersizing and getting my cholestorol down,
I am doing DIY synth stuff ;^)
Synthusiast wrote:
> Hi Jim,
>
> You'd want to check if Imagecraft has specially designed
> AVR-'stdio'-routines available for the 'putc' and other serial I/O routines
> (#include <stdio.h>?). It'll save you some time in exploring all the
> features of your AVR controller. Nonetheless it's a good excercise of
> course. ;-)
>
> Cheers,
> Martijn
>
> > For those who are interested, I have posted the first snippet of
> > code.
> >
> > It is an interrupt driven serial transmit routine. The test code
> > just spits out ascii characters. The entire thing is written in C.
> >
> > http://www.silcom.com/~patchell/uproc/avr.html
> >
> > --
> > -Jim
> > ------------------------------------------------
> > * Visit:http://www.silcom.com/~patchell/
> > *-----------------------------------------------
> > *I'm sure glad Merry Christmas comes just once a year
> > * -Yogi Yorgensen
> > ------------------------------------------------
> >
> >
--
-Jim
------------------------------------------------
* Visit:http://www.silcom.com/~patchell/
*-----------------------------------------------
*I'm sure glad Merry Christmas comes just once a year
* -Yogi Yorgensen
------------------------------------------------
More information about the Synth-diy
mailing list