Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<avr/io.h>
- void spioszek(void){}
- int main(void)
- {
- DDRA=0xFF;
- float m;
- int j;
- int tab[]={1, 2, 4, 8, 16, 32, 64, 128};
- while(1)
- {
- PORTA=0x01;
- for(j=0; j<9; j++)
- {
- for(m=0; m<5000; m++){spioszek();}
- PORTA=tab[j];
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement