Hi-tech C Compiler For Pic10 12 16 Mcus V9.83 Download _verified_
#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++); Hi-tech C Compiler For Pic10 12 16 Mcus V9.83 Download