PLEASE help, flushing LEDs and display msgs with STK500,

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi guys, I try to program a ATmega 8 on STK 500 board.
my targets are:
1. press a swith, then a LED is ON,
2,at the same time, display a message in the MSwindows HyperTerminal window.

I can get the LED ON when I press a swith, but there is no message display on the HyperTerminal window, Would some1 have look my codes please? cheers

I got it working now, thankz

Last Edited: Thu. Jul 1, 2010 - 02:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Use the CODE button before and AFTER pasting the code.

Have a look at the STDIODEMO example in the example folder of winAvr on how to setup STDIO.
C:\WinAVR-20100110\doc\avr-libc\examples\stdiodemo

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
Use the CODE button before and AFTER pasting the code.

Have a look at the STDIODEMO example in the example folder of winAvr on how to setup STDIO.
C:\WinAVR-20100110\doc\avr-libc\examples\stdiodemo

thankz. well, I didnot know there are example in the folder of winAvr,

thank you very much,