;rc_calib.asm ; ;for measuring the frequency of the internal RC oscillator ;measure the frequency generated on the PORTB pins and ;multiply by 4 .include "2323def.inc" .cseg .org 0 rjmp RESET ;Reset Handle RESET: ldi r16, 0b00011111 ;configure PORT B for all outputs out DDRB, r16 ldi r17, 0 here: out PORTB, r16 ;Write r16 to PORTB out PORTB, r17 rjmp here