Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / Inicio *********************************************************************
- void main()
- {
- // Configura as Portas *********************************************************
- TRISA = 0b00100000; // define PORTA como ssesssss
- TRISB = 0b00000000; // define PORTB como ssssesss
- while(1)
- {
- Delay_ms(500);
- PORTB.F0 = 0;
- Delay_ms(500);
- PORTB.F0 = 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement