This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ldi R19,0xFF out 0x3e, R18 out 0x3D, R19 ;set up Port B for output ldi R31,0xFF out DDRB, R31 ;setup output high on Port B, pin 0 ldi R29, 0x00 ldi R30, 0x00 ldi R31, 0x64 //Load value of TCCR2 out TCCR2, R31 //write to TCCR2 out OCR2, R20 //write to OCR2...
View Full Document
This note was uploaded on 09/08/2010 for the course ME 106 at San Jose State.