Software usb to serial

Ok so this was crazy. I spent 3 hours putting together this usb to serial converter, based on this design: . It is based on an attiny45. It worked first time. But what a mess. Max baud rate is 4800 for this part, but it will do the job. You will see the application in the next post

By the way this blog is moving to Update your links!

Update: buddy at recursion messed up the serial interrupt edge in the code when using ttl levels. Here is the patch:
Chucks-Mac:tiny45 chuck$ diff uart.h.bad uart.h

> #ifdef UART_INVERT
> #define UART_INTR_CFG_SET (_BV(ISC01)|_BV(ISC00)) /* int on rising edge */
> #else
> #endif