Up to 35% OFF 🎉
Go VIP and download everything FREE!
Ends in 4h 10m 55s

#include <htc.h> __CONFIG(0x3FFA); // HS Osc, WDT off, PWRT on

Compile using the command line:

void main(void) TRISB = 0x00; // Port B as output while(1) PORTB = 0xFF; // All LEDs ON unsigned int i; for(i = 0; i < 10000; i++); // Simple delay PORTB = 0x00; // All LEDs OFF for(i = 0; i < 10000; i++);

Similar cases

Best Selling Products