ATSTK500 Atmel, ATSTK500 Datasheet - Page 57
ATSTK500
Manufacturer Part Number
ATSTK500
Description
PROGRAMMER AVR STARTER KIT
Manufacturer
Atmel
Series
AVR®r
Type
MCUr
Specifications of ATSTK500
Contents
Board, Cable, CD and Documentation
Data Bus Width
8 bit
Interface Type
RS-232
For Use With/related Products
Atmel AVR Devices
For Use With
ATADAPCAN01 - EXTENSION CAN ADD-ON TO STK500/1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 57 of 61
- Download datasheet (3Mb)
9.1
AVR STK500 User Guide
Using LEDs and
Switches
Connect PORTB to LEDS and PORTD to SWITCHES.
LEDs will operate differently depending on what switch is pressed.
Tip: Copy the code from this document into AVR Studio.
;***** STK500 LEDS and SWITCH demonstration
.include “8515def.inc”
.def
.def
.def
;***** Initialization
RESET:
;**** Test input/output
LOOP:
ser
out
out
sbis
inc
sbis
Temp
DDRB,Temp
PORTB,temp
PIND,0x00
Temp
PIND,0x01
Temp
Delay
Delay2
=r16
=r17
=r18
Example Applications
; Temporary register
; Delay variable 1
; Delay variable 2
; Set PORTB to output
; Update LEDS
; If (Port D, pin0 == 0)
; then count LEDS one down
; If (Port D, pin1 == 0)
Section 9
Rev. 1925C–AVR–3/03
9-1
Related parts for ATSTK500
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: