From: Erich W. <ew....@na...> - 2010-11-17 19:15:24
|
Hello Christian, On 11/16/2010 01:22 PM, Christian Kellermann wrote: > Dear amforthers, > > I was wondering whether there is already a dictionary available > that enables me to send a string at 9600 baud via a digital pin? I see 2 non-software approaches: use a controller with 2 serial interfaces, e.g. atmega644P use a bit of stuff to multiplex the tx line to some other connection, then use the hw usart. The sw would then do "redirection" like this get-data <to-other> send-data </to-other> And I see one software approach: use a timer/pwm thing to create the wave form, the corresponding interrupt handlers then can provide the next bit, set the timer registers and fire the timer again. Downside: needs most probably be coded in assembler. Maybe a few more words about what you want to achieve could turn up more possible solutions. Erich |