Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <AT89X51.h>
- main()
- {
- int i;
- while(1)
- {
- P0_0=1,P0_2=1,P0_4=1,P0_6=1;
- P0_1=0,P0_3=0,P0_5=0,P0_7=0;
- for(i=1;i<20000;i++);
- P0_0=0,P0_2=0,P0_4=0,P0_6=0;
- P0_1=1,P0_3=1,P0_5=1,P0_7=1;
- for(i=1;i<20000;i++);
- }
- }
Add Comment
Please, Sign In to add comment