In the files section of AVR-Chat, I have posted an assembly listing called 'SerialIO.asm' that does what you are asking for the Tiny11. The code runs in the background as an interrupt process. It uses the timer fully so the timer can't be used for anything else. The routine is full-duplex serial and takes about 100 words of program code. It uses four registers. Good Luck with it. Alan Probandt Portland, Oregon USA --- In AVR-Chat@yahoogroups.com, Jose Fuentes <josecarlosfuentes@y...> wrote: > I want to use a Attiny11 (price under 0.54) and > implement a serial port. Since it doesn't have a > USART I have to write the software to allow the > microcontroller to send and receive data. If somebody > has done something like this in assembly or C please > let me know. Attiny11 only has 1KB FLASH and 32 > general purpose registers. > Thanks. > > Jose > > > > > > > ___________________________________ > ¡Llevate a Yahoo! en tu Unifón! > Ahora podés usar Yahoo! Messenger en tu Unifón, en cualquier momento y lugar. > Encontrá más información en: http://ar.mobile.yahoo.com/sms.html
Message
Re: SERIAL PORT IN ATTINY
2004-11-18 by alan_probandt
Attachments
- No local attachments were found for this message.