Running led dengan mikrokontroler avr atmega16 (codevision

10,209 views

Published on

latihan membuat running led dengan avr mega 16 (codevision & proteus ISIS)

Published in: Education, Business, Technology
2 Comments
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
10,209
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
207
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

Running led dengan mikrokontroler avr atmega16 (codevision

  1. 1. PRIYO HARJIYONO, S.Pd
  2. 2. Listing program running led#include <mega16.h> PORTB=temp;#include <delay.h> temp>>=1;int temp=0; if(temp==0)void main(void) {{ delay_ms(100);DDRB=0xFF; temp=0x80; PORTB=temp; PORTB=temp; temp=0x80; } delay_ms(100);while (1) }; { } delay_ms(100);
  3. 3. Gambar Rangkaian denganProteus ISIS

×