Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

testing uart using atmega16

2005-12-12 by spotwl8

hi!

i'm new here. i need your help. i'm currently having a project on 
avr. i would like to communicate data from pc to microcontroller. 
the transmitter is connected to the pc through serial port. and the 
receiver is connected to the microcontroller. I used atmega16.

when i programmed the atmega16, I tested it. when i applied source 
to it, after a while, the leds light up..it formed different 
combination.so i assumed that the receiver receive data. however the 
problem is there is no transmitter yet. here's the link for my code:

 http://h1.ripway.com/greenadik_101/uarttest16.c

so i edited my program. i added an end character. here's the code:

 http://h1.ripway.com/greenadik_101/uart16.c

after that, leds doesnt light up. so i send data from pc. the 
problem is it doesn't work at all.

is my program the problem?

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.