Witam.Mój problem to nie świecąca dioda. Napięcie na nozkach uC wynosi 5V, układ zasilany jest z programatora,dioda podłaczona jest anodą do pinu nr.19 (PB5) następnie przez rezystor 100 Ohm do masy.Program, który wgrywam wygląda następująco:
język c
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.
Podaje też report z wgrywania programu przez eclipse:
Kod:
Launching F:\replay\avrdude -pm16 -cusbasp -Uflash:w:pierwszy_AVR.hex:a "-CF:\replay\avrdude.conf"
Output:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9403
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "pierwszy_AVR.hex"
avrdude: input file pierwszy_AVR.hex auto detected as Intel Hex
avrdude: writing flash (122 bytes):
Writing | ################################################## | 100% 1.00s
avrdude: 122 bytes of flash written
avrdude: verifying flash memory against pierwszy_AVR.hex:
avrdude: load data flash data from input file pierwszy_AVR.hex:
avrdude: input file pierwszy_AVR.hex auto detected as Intel Hex
avrdude: input file pierwszy_AVR.hex contains 122 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.53s
avrdude: verifying ...
avrdude: 122 bytes of flash verified
avrdude done. Thank you.
avrdude finished