Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void testMain(void)
- {
- TRISA = 0x00; //all output
- PORTA = 0x01; //start with it on
- while(1)
- {
- __delay_us(500); //delay that
- PORTA ^= 0xFF; //toggle
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement