Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <REGX51.H>
  2.  
  3. int j,i,x,y;
  4.  
  5. main()
  6. {
  7. while(1)
  8. {
  9. P1_7=1;
  10. P1_5=1;
  11.  
  12. for(j=0;j<10;j++)
  13. {
  14. P1_7=!P1_7;
  15. for(i=0;i<30000;i++);
  16. }
  17. for(x=0;x<20;x++)
  18. {
  19. P1_5=!P1_5;
  20. for(y=0;y<30000;y++);
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement