参数资料
型号: ATSTK500
厂商: Atmel
文件页数: 57/61页
文件大小: 0K
描述: PROGRAMMER AVR STARTER KIT
产品培训模块: MCU Product Line Introduction
标准包装: 1
系列: AVR®
类型: MCU
适用于相关产品: Atmel AVR 设备
所含物品: 板,线缆,CD 和文档
产品目录页面: 615 (CN2011-ZH PDF)
配用: ATADAPCAN01-ND - EXTENSION CAN ADD-ON TO STK500/1
相关产品: ATMEGA64C1-15MZTR-ND - MCU AVR 64KB FLASH CAN 32-VQFN
ATMEGA64C1-15AZTR-ND - MCU AVR 64KB FLASH CAN 32TQFP
ATMEGA64M1-15MZTR-ND - MCU AVR 64KB FLASH 3PSC 32-VQFN
ATMEGA64M1-15AZTR-ND - MCU AVR 64KB FLASH 3PSC 32TQFP
ATMEGA32HVB-8X3-ND - MCU AVR 32KB FLASH 8MHZ 44TSSOP
ATMEGA16U4-AU-ND - MCU AVR 16K FLASH USB 44TQFP
ATMEGA16HVB-8X3-ND - MCU AVR 16KB FLASH 44TSSOP
ATMEGA169PV-8MCH-ND - MCU AVR 16KB FLASH 8MHZ 64-VQFN
ATMEGA169P-16MCH-ND - MCU AVR 16KB FLASH 16MHZ 64-VQFN
ATMEGA16U2-AU-ND - MCU AVR 16K FLASH USB 32TQFP
更多...
Section 9
Example Applications
9.1
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
Temp
Delay
Delay2
=r16
=r17
=r18
; Temporary register
; Delay variable 1
; Delay variable 2
;***** Initialization
RESET:
ser
Temp
out
DDRB,Temp
; Set PORTB to output
;**** Test input/output
LOOP:
AVR STK500 User Guide
out
sbis
inc
sbis
PORTB,temp
PIND,0x00
Temp
PIND,0x01
; Update LEDS
; If (Port D, pin0 == 0)
; then count LEDS one down
; If (Port D, pin1 == 0)
9-1
Rev. 1925C–AVR–3/03
相关PDF资料
PDF描述
ATSTK526 KIT STARTER FOR AT90USB82/162
ATSTK600 DEV KIT FOR AVR/AVR32
ATXMEGAB1-XPLD KIT EVAL FOR ATXMEGAB1
AUIR2085S IC DVR HALF-BRDG SELF OSC 8SOIC
AUIRS2003S IC DRVIER HALF-BRIDGE 8SOIC
相关代理商/技术参数
参数描述
ATSTK500/IAR-C 制造商:Atmel 功能描述:STK500 DEV KIT WITH IAR C
ATSTK501 功能描述:插座和适配器 Expansion module for STK500 Starter Kit RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK502 功能描述:插座和适配器 Expansion module for STK500 Starter Kit RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK503 功能描述:插座和适配器 Expansion module for STK500 Starter Kit RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK504 功能描述:插座和适配器 Expansion module for STK500 Starter Kit RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x