Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <16F873A.h>
- #use delay(clock=500000)
- #byte puerto_b = 0x06
- void main() {
- set_tris_b(0x00);
- puerto_b = 0;
- do{
- delay_ms(1000);
- bit_set(puerto_b, 1);
- delay_ms(1000);
- bit_clear(puerto_b, 1);
- }while(TRUE);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement