On Tue, 2010-06-01 at 14:28 +0200, Joerg Wunsch wrote: > (Better subscribe to the list, you might miss replies otherwise.) > > Leiu <tvhoa...@gmail.com> wrote: > > > Thanks all, But i can't find bug, Here is my full code > > > Result : i can show 'A'! why? > > Because you're using hyperterm? > > I've compiled this for an ATmega16, set it up on an STK500, and > connected it to my terminal emulator: > > ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOP... > > I assume this is what you'd like to see, isn't it? > > Note that after printing the 'Z', it pauses for one "tick", which > matches your code (the ISR only resets "first_edge" to 'A' then, but > doesn't print out anything). >
Thank Joerg Wunsch! But i have just replaced hypeterm by a free serial terminal but result no change! I use winavr2010 with eclipse, ATmega16! I tested with Proteus and real circuit but result is only 'A'! Show me my problem! _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list