Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

C1925

Part # C1925
Description BLOCK, JUNCTION - Bulk
Category HARDWARE
Availability In Stock
Qty 2
Qty Price
1 + $24.92401
Manufacturer Available Qty
MAGNUM
  • Shipping Freelance Stock: 2
    Ships Immediately



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

AVR STK500 User Guide 8-1
Rev. 1925C–AVR–3/03
Section 8
Technical Support
For technical support, please contact avr@atmel.com. When requesting technical sup-
port for STK500, please include the following information:
n Version number of AVR Studio. This can be found in the AVR Studio menu,
“Help About”.
n PC processor type and speed
n PC operating system and version
n What target AVR device is used (complete part number)
n Programming voltage
n Jumper settings
n A detailed description of the problem
Technical Support
8-2 AVR STK500 User Guide
1925C–AVR–3/03
AVR STK500 User Guide 9-1
Rev. 1925C–AVR–3/03
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 Temp =r16 ; Temporary register
.def Delay =r17 ; Delay variable 1
.def Delay2 =r18 ; Delay variable 2
;***** Initialization
RESET:
ser Temp
out DDRB,Temp ; Set PORTB to output
;**** Test input/output
LOOP:
out PORTB,temp ; Update LEDS
sbis PIND,0x00 ; If (Port D, pin0 == 0)
inc Temp ; then count LEDS one down
sbis PIND,0x01 ; If (Port D, pin1 == 0)
PREVIOUS12131415161718192021NEXT